X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGNUsocialVideo%2FGNUsocialVideoPlugin.php;h=91a7c980aacc24da74f49f1285245fbdb22a513a;hb=5c0a3102ff60472f60da76d69b0830dca726cca4;hp=3310712ba76da6b470a6ea6383fd3eb7212044d2;hpb=2032c7c1f7f6e8c4543438396fcbbf633b9b4a0d;p=quix0rs-gnu-social.git diff --git a/plugins/GNUsocialVideo/GNUsocialVideoPlugin.php b/plugins/GNUsocialVideo/GNUsocialVideoPlugin.php index 3310712ba7..91a7c980aa 100644 --- a/plugins/GNUsocialVideo/GNUsocialVideoPlugin.php +++ b/plugins/GNUsocialVideo/GNUsocialVideoPlugin.php @@ -46,8 +46,8 @@ class GNUsocialVideoPlugin extends MicroAppPlugin function onRouterInitialized($m) { - $m->connect('main/postvideo', array('action' => 'postvideo')); - $m->connect('showvideo/:id', array('action' => 'showvideo')); + $m->connect('main/postvideo', ['action' => 'postvideo']); + $m->connect('showvideo/:id', ['action' => 'showvideo']); return true; }