зеркало из https://github.com/nextcloud/deck.git
Merge pull request #676 from nextcloud/fix-duplicate-register
Do not call register for comment entities twice
This commit is contained in:
Коммит
2b0954951d
|
@ -28,6 +28,7 @@ if ((@include_once __DIR__ . '/../vendor/autoload.php')===false) {
|
|||
$app = new \OCA\Deck\AppInfo\Application();
|
||||
$app->registerNavigationEntry();
|
||||
$app->registerNotifications();
|
||||
$app->registerCommentsEntity();
|
||||
|
||||
/** Load activity style global so it is availabile in the activity app as well */
|
||||
\OC_Util::addStyle('deck', 'activity');
|
||||
|
|
|
@ -99,8 +99,6 @@ class Application extends App {
|
|||
}
|
||||
});
|
||||
|
||||
$this->registerCommentsEntity();
|
||||
|
||||
}
|
||||
|
||||
public function registerNavigationEntry() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче