|
|
@@ -119,6 +119,8 @@ class ViewController extends Controller { |
|
|
|
* @throws \OCP\Files\NotFoundException |
|
|
|
*/ |
|
|
|
public function index($dir = '', $view = '') { |
|
|
|
$nav = new \OCP\Template('files', 'appnavigation', ''); |
|
|
|
|
|
|
|
// Load the files we need |
|
|
|
\OCP\Util::addStyle('files', 'files'); |
|
|
|
\OCP\Util::addStyle('files', 'upload'); |
|
|
@@ -169,8 +171,6 @@ class ViewController extends Controller { |
|
|
|
// FIXME: Make non static |
|
|
|
$storageInfo = $this->getStorageInfo(); |
|
|
|
|
|
|
|
$nav = new \OCP\Template('files', 'appnavigation', ''); |
|
|
|
|
|
|
|
\OCA\Files\App::getNavigationManager()->add( |
|
|
|
[ |
|
|
|
'id' => 'favorites', |