removed a couple of todo messages

This commit is contained in:
Andy Miller
2015-09-14 09:39:45 -06:00
parent aaed431c83
commit 0549445e4b
2 changed files with 0 additions and 2 deletions

View File

@@ -489,7 +489,6 @@ class Admin
});
// build new array with just pages in it
// TODO: Optimized this
$list = array();
foreach ($latest as $item) {
$list[] = $item['page'];

View File

@@ -746,7 +746,6 @@ class AdminController
$config = $this->grav['config'];
$config->reload()->save();
// TODO: find out why reload and save doesn't always update the object itself (and remove this workaround).
$config->set('system.pages.theme', $name);
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.SUCCESSFULLY_CHANGED_THEME'), 'info');