summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-08 14:20:15 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-08 14:20:15 -0800
commitfb65a0a5854812a9837c770dfbb27a23bee49e3d (patch)
treef306e5734d51395def9e646104cb46dc9435845a /modules
parentad3e003e487de09769ca3ba40f1d8b3397658ed6 (diff)
Remove debug code.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/item.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php
index 8098d1cd..eb528f8f 100644
--- a/modules/gallery/helpers/item.php
+++ b/modules/gallery/helpers/item.php
@@ -186,7 +186,6 @@ class item_Core {
// that we chose the smallest number in the system, choose the item with the smallest number.
// This approach works best when the random numbers in the system are roughly evenly
// distributed so this is going to be more efficient with larger data sets.
- $random = 0.0;
$items = ORM::factory("item")
->viewable()
->where("rand_key", "<", $random)