]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ChooseTheme/ChooseThemePlugin.php
[ROUTES] Allow accept-header specification during router creation
[quix0rs-gnu-social.git] / plugins / ChooseTheme / ChooseThemePlugin.php
index fe7ba52e861022613f64f5113f6f799a7fb008b1..bcfd5ba8a75ad70a75786b6885ab579b890a7ecd 100644 (file)
@@ -26,7 +26,7 @@ class ChooseThemePlugin extends Plugin {
     const PLUGIN_VERSION = '0.1.0';
 
     public function onRouterInitialized(URLMapper $m) {
-        $m->connect('main/choosethemesettings', array('action' => 'choosethemesettings'));
+        $m->connect('main/choosethemesettings', ['action' => 'choosethemesettings']);
     }
 
     public function onPluginVersion(array &$versions) {