diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-30 05:27:19 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-30 05:27:19 -0700 |
commit | fc7ef17e0fb08459a84ba9ba0654664e519e6a0f (patch) | |
tree | a74863053059750922b4948909dcb9b689003e2c /modules | |
parent | 29f5a231c710dc1fb63a1ae06bbc985b9c459711 (diff) |
Remove try statement w/o catch
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/models/item.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 1ce4d340..a0598ea4 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -350,7 +350,6 @@ class Item_Model extends ORM_MPTT { if (!empty($this->changed) && $this->changed != array("view_count" => "view_count")) { $this->updated = time(); if (!$this->loaded) { - try { $this->created = $this->updated; $weight = Database::instance() ->select("weight")->from("items") |