Skip to content

Commit 9d9bfa8

Browse files
author
Julien Veyssier
committed
fix a detail
Signed-off-by: Julien Veyssier <[email protected]>
1 parent 0748270 commit 9d9bfa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AppInfo/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function loadFilesPlugin(IUserSession $userSession, IEventDispatcher $eve
8080
$user = $userSession->getUser();
8181
if ($user !== null) {
8282
$userId = $user->getUID();
83-
if ($this->config->getUserValue($userId, self::APP_ID, 'file_action_enabled', '0') === '1') {
83+
if ($this->config->getUserValue($userId, self::APP_ID, 'file_action_enabled', '1') === '1') {
8484
$eventDispatcher->addListener(LoadAdditionalScriptsEvent::class, function () {
8585
Util::addscript(self::APP_ID, self::APP_ID . '-filesplugin', 'files');
8686
Util::addStyle(self::APP_ID, self::APP_ID . '-files');

0 commit comments

Comments
 (0)