X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=bf8d696b60f90cceef1b14d825ba70151cde932f;hb=77ed71e2e07ebbea9295308ba02fbc7e75ff927d;hp=f9db7b05b19fe5e5c526f36e2d7e9e2d9bbfacb7;hpb=d6cf791677e3c676108f84e64818ba2a272f6d08;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index f9db7b05b1..bf8d696b60 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -5,7 +5,7 @@ require_once('include/bbcode.php'); require_once('include/security.php'); require_once('include/redir.php'); -if(! function_exists('videos_init')) { + function videos_init(&$a) { if($a->argc > 1) @@ -102,9 +102,9 @@ function videos_init(&$a) { return; } -} -if(! function_exists('videos_post')) { + + function videos_post(&$a) { $owner_uid = $a->data['user']['uid']; @@ -176,11 +176,11 @@ function videos_post(&$a) { } goaway($a->get_baseurl() . '/videos/' . $a->data['user']['nickname']); + } -} -if(! function_exists('videos_content')) { + function videos_content(&$a) { // URLs (most aren't currently implemented): @@ -407,4 +407,4 @@ function videos_content(&$a) { $o .= paginate($a); return $o; } -} +