MDL-32251 more E_STRCT fixes

This commit is contained in:
Petr Skoda
2012-03-29 16:29:29 +02:00
parent caee6e6c26
commit 9aa09d8fed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -636,7 +636,7 @@ class comment {
* }
* @return boolean
*/
public function delete_comments($param) {
public static function delete_comments($param) {
global $DB;
$param = (array)$param;
if (empty($param['contextid'])) {
+1 -1
View File
@@ -428,7 +428,7 @@ class question_category_object {
}
// Update the category record.
$cat = null;
$cat = new stdClass();
$cat->id = $updateid;
$cat->name = $newname;
$cat->info = $newinfo;