Index: branches/RL2/extensions/Gadgets/GadgetHooks.php |
— | — | @@ -194,9 +194,7 @@ |
195 | 195 | * @param $preferences Array: Preference descriptions |
196 | 196 | */ |
197 | 197 | public static function getPreferences( $user, &$preferences ) { |
198 | | - // TODO: Part of this is duplicated from registerModules(), factor out into the repo |
199 | 198 | $repo = LocalGadgetRepo::singleton(); |
200 | | - |
201 | 199 | $gadgets = $repo->getGadgetIds(); |
202 | 200 | $categories = array(); // array( category => array( desc => name ) ) |
203 | 201 | $default = array(); // array of Gadget ids |