summaryrefslogtreecommitdiffstats
path: root/lib/class/api.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-06-11 10:35:50 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-06-12 13:25:57 -0400
commit438a2a90233b2ef971a03b52f8ef29160b28ae19 (patch)
tree4da5f59250fe581283e8e49d85406fbb064040af /lib/class/api.class.php
parent0391d2443829ee0d92943c80ffcd918eafe53a6b (diff)
downloadampache-438a2a90233b2ef971a03b52f8ef29160b28ae19.tar.gz
ampache-438a2a90233b2ef971a03b52f8ef29160b28ae19.tar.bz2
ampache-438a2a90233b2ef971a03b52f8ef29160b28ae19.zip
Don't cache browses for the API
The API will never request it again, so caching the query just wastes space.
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r--lib/class/api.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php
index b913c06d..86d6f5fb 100644
--- a/lib/class/api.class.php
+++ b/lib/class/api.class.php
@@ -50,7 +50,7 @@ class Api {
*/
public static function _auto_init() {
if (is_null(self::$browse)) {
- self::$browse = new Browse();
+ self::$browse = new Browse(null, false);
}
}