require_once('include/security.php');
require_once('include/redir.php');
-if(! function_exists('videos_init')) {
+
function videos_init(&$a) {
if($a->argc > 1)
return;
}
-}
-if(! function_exists('videos_post')) {
+
+
function videos_post(&$a) {
$owner_uid = $a->data['user']['uid'];
}
goaway($a->get_baseurl() . '/videos/' . $a->data['user']['nickname']);
+
}
-}
-if(! function_exists('videos_content')) {
+
function videos_content(&$a) {
// URLs (most aren't currently implemented):
$o .= paginate($a);
return $o;
}
-}
+