aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/wallabag
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-11-22 14:45:09 +0100
committerArthurHoaro <arthur@hoa.ro>2015-11-22 14:45:09 +0100
commite4b9a7633d5eb325e2ae3a098417d5e1d5609852 (patch)
tree40ecb3ecd7f95ad2885a215397dab4205b46b1bc /plugins/wallabag
parenta5dd1772bd17090e502eb8d117cf4efeed524b1e (diff)
downloadShaarli-e4b9a7633d5eb325e2ae3a098417d5e1d5609852.tar.gz
Shaarli-e4b9a7633d5eb325e2ae3a098417d5e1d5609852.tar.zst
Shaarli-e4b9a7633d5eb325e2ae3a098417d5e1d5609852.zip
Bugfix: do not store plugin errors in data.php
Before this, calling writeConfig() would have write error messages in data.php, because it uses 'plugins' array which is used for plugin configuration. Causing the message error appear everytime.
Diffstat (limited to 'plugins/wallabag')
-rw-r--r--plugins/wallabag/wallabag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wallabag/wallabag.php b/plugins/wallabag/wallabag.php
index 024a3d2b..37969c97 100644
--- a/plugins/wallabag/wallabag.php
+++ b/plugins/wallabag/wallabag.php
@@ -10,7 +10,7 @@ if (is_file(PluginManager::$PLUGINS_PATH . '/wallabag/config.php')) {
10} 10}
11 11
12if (!isset($GLOBALS['plugins']['WALLABAG_URL'])) { 12if (!isset($GLOBALS['plugins']['WALLABAG_URL'])) {
13 $GLOBALS['plugins']['errors'][] = 'Wallabag plugin error: '. 13 $GLOBALS['plugin_errors'][] = 'Wallabag plugin error: '.
14 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '. 14 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '.
15 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.'; 15 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.';
16} 16}