aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/addlink_toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/addlink_toolbar')
-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}