Skip to content

Commit

Permalink
MDL-32251 more E_STRCT fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Mar 29, 2012
1 parent caee6e6 commit 9aa09d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion comment/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public function add($content, $format = FORMAT_MOODLE) {
* }
* @return boolean
*/
public function delete_comments($param) {
public static function delete_comments($param) {
global $DB;
$param = (array)$param;
if (empty($param['contextid'])) {
Expand Down
2 changes: 1 addition & 1 deletion question/category_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function update_category($updateid, $newparent, $newname, $newinfo) {
}

// Update the category record.
$cat = null;
$cat = new stdClass();
$cat->id = $updateid;
$cat->name = $newname;
$cat->info = $newinfo;
Expand Down

0 comments on commit 9aa09d8

Please sign in to comment.