diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-09 19:15:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 19:15:47 +0100 |
commit | 9c5daad19c850d852f2e78ca571ad199362c0ffe (patch) | |
tree | 856bdcfe728cba86331a9d7c35d41d558d0fe00a /application/config/ConfigPlugin.php | |
parent | 1e38df6606a1faf86f5f6b2e94b61dec250db622 (diff) | |
parent | e6cd773f5a8bd757c9362524cfeb3f7cb7fa81c9 (diff) | |
download | Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.gz Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.zst Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.zip |
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual
Display private only filter as search criteria
Diffstat (limited to 'application/config/ConfigPlugin.php')
-rw-r--r-- | application/config/ConfigPlugin.php | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/application/config/ConfigPlugin.php b/application/config/ConfigPlugin.php index 61a594d3..b3d9752b 100644 --- a/application/config/ConfigPlugin.php +++ b/application/config/ConfigPlugin.php | |||
@@ -1,5 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Config; | 2 | |
3 | use Shaarli\Config\Exception\PluginConfigOrderException; | ||
3 | 4 | ||
4 | /** | 5 | /** |
5 | * Plugin configuration helper functions. | 6 | * Plugin configuration helper functions. |
@@ -110,17 +111,3 @@ function load_plugin_parameter_values($plugins, $conf) | |||
110 | 111 | ||
111 | return $out; | 112 | return $out; |
112 | } | 113 | } |
113 | |||
114 | /** | ||
115 | * Exception used if an error occur while saving plugin configuration. | ||
116 | */ | ||
117 | class PluginConfigOrderException extends \Exception | ||
118 | { | ||
119 | /** | ||
120 | * Construct exception. | ||
121 | */ | ||
122 | public function __construct() | ||
123 | { | ||
124 | $this->message = 'An error occurred while trying to save plugins loading order.'; | ||
125 | } | ||
126 | } | ||