Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-12 18:18:08 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-18 15:42:36 +0400
commit3652d53bfb9fdd9d3e600fcda02fdffae9a504e2 (patch)
tree8539d041c771ecd8e1420f3ced94ba43deacb040 /appinfo
parent2edce9a823429ae6f51f89b7e1eb4fc6272b5231 (diff)
fix if condition
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 905ca2f..bba8dbc 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -1,7 +1,7 @@
<?php
// only load text editor if the user is logged in
-if (\OCP\User::isLoggedIn() === false) {
+if (\OCP\User::isLoggedIn()) {
OCP\Util::addStyle('files_texteditor', 'DroidSansMono/stylesheet');
OCP\Util::addStyle('files_texteditor', 'style');
OCP\Util::addscript('files_texteditor', 'editor');