tag_explode -> Tag::explode

This commit is contained in:
Shish
2009-01-24 11:05:07 -08:00
parent 5600e00de9
commit bb752d6fd1
7 changed files with 10 additions and 10 deletions

View File

@ -55,7 +55,7 @@ class Upload implements Extension {
if(($event instanceof PageRequestEvent) && $event->page_matches("upload")) {
if(count($_FILES) + count($_POST) > 0) {
$tags = tag_explode($_POST['tags']);
$tags = Tag::explode($_POST['tags']);
$source = isset($_POST['source']) ? $_POST['source'] : null;
global $user;
if($this->can_upload($user)) {
@ -81,7 +81,7 @@ class Upload implements Extension {
$url = $_GET['url'];
$tags = array('tagme');
if(!empty($_GET['tags']) && $_GET['tags'] != "null") {
$tags = tag_explode($_GET['tags']);
$tags = Tag::explode($_GET['tags']);
}
$ok = $this->try_transload($url, $tags, $url);
$this->theme->display_upload_status($event->page, $ok);