aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-01-15 17:50:16 +0100
committerArthurHoaro <arthur@hoa.ro>2017-01-15 17:50:16 +0100
commit053673cb71a45a38a2eb517c4e630656a5626327 (patch)
treec5cdae90eeae5c28c69f50aa5acc481a0e9b3cd0 /plugins
parent9977c418d6d0de9e22e4ec276e7d476e184b5d01 (diff)
downloadShaarli-053673cb71a45a38a2eb517c4e630656a5626327.tar.gz
Shaarli-053673cb71a45a38a2eb517c4e630656a5626327.tar.zst
Shaarli-053673cb71a45a38a2eb517c4e630656a5626327.zip
Remove CSS call for addlink toolbar plugin
Fixes #724
Diffstat (limited to 'plugins')
-rw-r--r--plugins/addlink_toolbar/addlink_toolbar.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/addlink_toolbar/addlink_toolbar.php b/plugins/addlink_toolbar/addlink_toolbar.php
index bf8a198a..ddf50aaf 100644
--- a/plugins/addlink_toolbar/addlink_toolbar.php
+++ b/plugins/addlink_toolbar/addlink_toolbar.php
@@ -40,19 +40,3 @@ function hook_addlink_toolbar_render_header($data)
40 40
41 return $data; 41 return $data;
42} 42}
43
44/**
45 * When link list is displayed, include markdown CSS.
46 *
47 * @param array $data - includes data.
48 *
49 * @return mixed - includes data with markdown CSS file added.
50 */
51function hook_addlink_toolbar_render_includes($data)
52{
53 if ($data['_PAGE_'] == Router::$PAGE_LINKLIST && $data['_LOGGEDIN_'] === true) {
54 $data['css_files'][] = PluginManager::$PLUGINS_PATH . '/addlink_toolbar/addlink_toolbar.css';
55 }
56
57 return $data;
58}