diff options
author | ArthurHoaro <arthur@hoa.ro> | 2015-11-22 14:45:09 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2015-11-22 14:45:09 +0100 |
commit | e4b9a7633d5eb325e2ae3a098417d5e1d5609852 (patch) | |
tree | 40ecb3ecd7f95ad2885a215397dab4205b46b1bc /plugins/readityourself | |
parent | a5dd1772bd17090e502eb8d117cf4efeed524b1e (diff) | |
download | Shaarli-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/readityourself')
-rw-r--r-- | plugins/readityourself/readityourself.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readityourself/readityourself.php b/plugins/readityourself/readityourself.php index 68efc543..1b030bc8 100644 --- a/plugins/readityourself/readityourself.php +++ b/plugins/readityourself/readityourself.php | |||
@@ -14,7 +14,7 @@ if (is_file(PluginManager::$PLUGINS_PATH . '/readityourself/config.php')) { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | if (!isset($GLOBALS['plugins']['READITYOUSELF_URL'])) { | 16 | if (!isset($GLOBALS['plugins']['READITYOUSELF_URL'])) { |
17 | $GLOBALS['plugins']['errors'][] = 'Readityourself plugin error: '. | 17 | $GLOBALS['plugin_errors'][] = 'Readityourself plugin error: '. |
18 | 'Please define "$GLOBALS[\'plugins\'][\'READITYOUSELF_URL\']" '. | 18 | 'Please define "$GLOBALS[\'plugins\'][\'READITYOUSELF_URL\']" '. |
19 | 'in "plugins/readityourself/config.php" or in your Shaarli config.php file.'; | 19 | 'in "plugins/readityourself/config.php" or in your Shaarli config.php file.'; |
20 | } | 20 | } |