Index: trunk/extensions/Configure/Configure.handler-db.php |
— | — | @@ -89,7 +89,6 @@ |
90 | 90 | /** |
91 | 91 | * Load the current configuration the database (i.e. cv_is_latest == 1) |
92 | 92 | * directory |
93 | | - * FIXME: serious O(n) overhead |
94 | 93 | */ |
95 | 94 | public function getCurrent( $useCache = true ) { |
96 | 95 | static $ipCached = null; |
— | — | @@ -99,6 +98,7 @@ |
100 | 99 | |
101 | 100 | # Check filesystem cache |
102 | 101 | if ( $useCache && ( $cached = $this->getFSCached() ) ) { |
| 102 | + # FIXME: why does this always recache? |
103 | 103 | $this->cacheToFS( $cached ); |
104 | 104 | return $ipCached = $cached; |
105 | 105 | } |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | /** |
137 | 137 | * Return the old configuration from $ts |
138 | 138 | * Does *not* return site specific settings but *all* settings |
139 | | - * FIXME: serious O(n) overhead |
| 139 | + * FIXME: timestamp is not unique |
140 | 140 | * |
141 | 141 | * @param $ts timestamp |
142 | 142 | * @return array |