From 2a4e8972e0edfa3156d9ce54d68ce0e54c0ec289 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Apr 2016 20:38:38 -0700 Subject: module updates --- mod/wall_upload.php | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 mod/wall_upload.php (limited to 'mod/wall_upload.php') diff --git a/mod/wall_upload.php b/mod/wall_upload.php deleted file mode 100644 index 54e2f8526..000000000 --- a/mod/wall_upload.php +++ /dev/null @@ -1,51 +0,0 @@ - 1) - $nick = argv(1); - } - - $channel = (($nick) ? get_channel_by_nick($nick) : false); - - if(! $channel) { - if($using_api) - return; - notice( t('Channel not found.') . EOL); - killme(); - } - - $observer = App::get_observer(); - - $args = array( 'source' => 'editor', 'visible' => 0, 'contact_allow' => array($channel['channel_hash'])); - - $ret = photo_upload($channel,$observer,$args); - - if(! $ret['success']) { - if($using_api) - return; - notice($ret['message']); - killme(); - } - - if($using_api) - return("\n\n" . $ret['body'] . "\n\n"); - else - echo "\n\n" . $ret['body'] . "\n\n"; - killme(); -} -- cgit v1.2.3