diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-31 16:07:41 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-31 16:07:41 -0800 |
commit | c050acf30a7351bf0ef5b8ee206704c073e881c7 (patch) | |
tree | 93db400f07fe706aa30dc19a59da8580f42f3af0 /modules/tag/models | |
parent | c6676dd455d070aaded25f048269eee07248100a (diff) |
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
mostly issues around uninitialized variables, calling non-static
functions in a static context, calling Session functions directly
instead of on its singleton, passing non-variables by reference, and
subclasses not using the same interface as the parent class.
Diffstat (limited to 'modules/tag/models')
-rw-r--r-- | modules/tag/models/tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php index 2b33c30d..38a8ed69 100644 --- a/modules/tag/models/tag.php +++ b/modules/tag/models/tag.php @@ -95,7 +95,7 @@ class Tag_Model extends ORM { * Overload ORM::delete() to trigger an item_related_update event for all items that are * related to this tag. */ - public function delete() { + public function delete($ignored_id=null) { $related_item_ids = array(); foreach (db::build() ->select("item_id") |