aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2018-06-15 17:35:53 +0200
committerAndreas Gohr <andi@splitbrain.org>2019-04-20 21:48:53 +0200
commitcbb44eabe033d70affb048ec0daf4e579e09dd20 (patch)
tree97a8a28e9cabd7aa4e54253487f071d87f840c87 /lib/exe/css.php
parente1d9dcc8b460b6f029ac9c8d5d3b8d23b6e73402 (diff)
downloaddokuwiki-cbb44eabe033d70affb048ec0daf4e579e09dd20.tar.gz
dokuwiki-cbb44eabe033d70affb048ec0daf4e579e09dd20.zip
deprecated trigger_event() in favor of a static method on Event
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 88ca42bbd..40de4b828 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -127,7 +127,7 @@ function css_out(){
// plugins decide whether to include the DW default styles.
// This can be done by preventing the Default.
$media_files['DW_DEFAULT'] = css_filewrapper('DW_DEFAULT');
- trigger_event('CSS_STYLES_INCLUDED', $media_files['DW_DEFAULT'], 'css_defaultstyles');
+ Event::createAndTrigger('CSS_STYLES_INCLUDED', $media_files['DW_DEFAULT'], 'css_defaultstyles');
// build the stylesheet
foreach ($mediatypes as $mediatype) {