diff --git a/lib/Controller/PublicAlbumController.php b/lib/Controller/PublicAlbumController.php index 3d815f4d..df05933a 100644 --- a/lib/Controller/PublicAlbumController.php +++ b/lib/Controller/PublicAlbumController.php @@ -2,7 +2,6 @@ namespace OCA\Memories\Controller; -use OCA\Files\Event\LoadSidebar; use OCA\Memories\Db\TimelineQuery; use OCP\App\IAppManager; use OCP\AppFramework\Controller; @@ -57,7 +56,6 @@ class PublicAlbumController extends Controller // Scripts Util::addScript($this->appName, 'memories-main'); - $this->eventDispatcher->dispatchTyped(new LoadSidebar()); PageController::provideCommonInitialState($this->initialState); $response = new PublicTemplateResponse($this->appName, 'main'); diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 0ca79aad..5ebd4fd1 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -2,7 +2,6 @@ namespace OCA\Memories\Controller; -use OCA\Files\Event\LoadSidebar; use OCP\App\IAppManager; use OCP\AppFramework\AuthPublicShareController; use OCP\AppFramework\Http\Template\PublicTemplateResponse; @@ -100,7 +99,6 @@ class PublicController extends AuthPublicShareController // Scripts Util::addScript($this->appName, 'memories-main'); - $this->eventDispatcher->dispatchTyped(new LoadSidebar()); PageController::provideCommonInitialState($this->initialState); // Share info