diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-10 10:19:46 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-10 10:19:46 -0800 |
| commit | 8fa9ba636b2e5d8a68c24359e9f6147e86798248 (patch) | |
| tree | 91029c688790a7507b0842bfb483e3698e6cd25d /modules/gallery/helpers | |
| parent | 5a8d48a86953781c682be7c8052ae804c65f7e3b (diff) | |
| parent | a11bf295078656612603c1c561e9261555d0c40c (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/graphics.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index 7577d7ac..5a290905 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -60,11 +60,12 @@ class graphics_Core { * @param string $operation the name of the operation(<defining class>::method) */ static function remove_rule($module_name, $target, $operation) { - ORM::factory("graphics_rule") + db::build() + ->delete("graphics_rules") ->where("module_name", "=", $module_name) ->where("target", "=", $target) ->where("operation", "=", $operation) - ->delete_all(); + ->execute(); self::mark_dirty($target == "thumb", $target == "resize"); } |
