diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-15 10:48:39 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-15 10:48:39 -0800 |
commit | 94f58e8b65b78cafed8f07f70a48b7b271cfc212 (patch) | |
tree | 59ca2606dde9a2a15019fc8c875e3323aa983585 /modules/gallery/helpers/movie.php | |
parent | 1a557ce5a6e367b37e95915290c092b769ed206a (diff) |
Move setting Item_Model::rand_key into Item_Model::save() since it's
business logic.
Diffstat (limited to 'modules/gallery/helpers/movie.php')
-rw-r--r-- | modules/gallery/helpers/movie.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php index 01859924..b0d24f68 100644 --- a/modules/gallery/helpers/movie.php +++ b/modules/gallery/helpers/movie.php @@ -85,7 +85,6 @@ class movie_Core { $movie->resize_dirty = 1; $movie->sort_column = "weight"; $movie->slug = $slug; - $movie->rand_key = ((float)mt_rand()) / (float)mt_getrandmax(); // Randomize the name if there's a conflict // @todo Improve this. Random numbers are not user friendly |