don't check permissions when filling the api cache. it can cause an infinite loop...
authorChuck Hagenbuch <chuck@bluestatedigital.com>
Fri, 24 Jul 2009 21:29:36 +0000 (17:29 -0400)
committerChuck Hagenbuch <chuck@bluestatedigital.com>
Fri, 24 Jul 2009 21:29:36 +0000 (17:29 -0400)
framework/Core/lib/Horde/Registry.php

index 8db52ca..7ad033e 100644 (file)
@@ -342,8 +342,7 @@ class Horde_Registry
 
         $this->_cache['api'] = $this->_cache['type'] = array();
 
-        $apps = $this->listApps($status);
-        foreach ($apps as $app) {
+        foreach (array_keys($this->applications) as $app) {
             $_services = $_types = null;
             $api = $this->get('fileroot', $app) . '/lib/api.php';
             if (is_readable($api)) {