removed legacy code
This commit is contained in:
parent
06bc3461c4
commit
5a6376c185
1 changed files with 2 additions and 2 deletions
|
@ -278,10 +278,10 @@ class Post
|
|||
];
|
||||
}
|
||||
|
||||
public static function upload_image($r){
|
||||
public static function upload_image(){
|
||||
self::login_protected();
|
||||
|
||||
return Image::upload($r["name"], $r["data"]);
|
||||
return Image::upload();
|
||||
}
|
||||
|
||||
public static function load($r){
|
||||
|
|
Loading…
Add table
Reference in a new issue