summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/album.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-15 10:48:39 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-15 10:48:39 -0800
commit94f58e8b65b78cafed8f07f70a48b7b271cfc212 (patch)
tree59ca2606dde9a2a15019fc8c875e3323aa983585 /modules/gallery/helpers/album.php
parent1a557ce5a6e367b37e95915290c092b769ed206a (diff)
Move setting Item_Model::rand_key into Item_Model::save() since it's
business logic.
Diffstat (limited to 'modules/gallery/helpers/album.php')
-rw-r--r--modules/gallery/helpers/album.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php
index 477f1945..52759414 100644
--- a/modules/gallery/helpers/album.php
+++ b/modules/gallery/helpers/album.php
@@ -61,7 +61,6 @@ class album_Core {
$album->thumb_dirty = 1;
$album->resize_dirty = 1;
$album->slug = $slug;
- $album->rand_key = ((float)mt_rand()) / (float)mt_getrandmax();
$album->sort_column = "created";
$album->sort_order = "ASC";