Legend:
- Unmodified
- Added
- Removed
-
plugins/buildtools/class.dc.maintenance.buildtools.php
r2286 r2355 55 55 $main .= $this->fake_l10n($v['label']); 56 56 } 57 $ws = $this->core->auth->user_prefs->favorites; 58 $main .= "\n# Favorites \n\n"; 59 foreach ($ws->dumpPrefs() as $k => $v) { 60 $fav = unserialize($v['value']); 61 $main .= $this->fake_l10n($fav['title']); 57 $ws = $this->core->auth->user_prefs->favorites; // Favs old school ! 58 if ($ws) { 59 $main .= "\n# Favorites \n\n"; 60 foreach ($ws->dumpPrefs() as $k => $v) { 61 $fav = unserialize($v['value']); 62 $main .= $this->fake_l10n($fav['title']); 63 } 62 64 } 63 65 file_put_contents(dirname($__autoload['dcCore']).'/_fake_l10n.php', $main);
Note: See TracChangeset
for help on using the changeset viewer.