Moving Model call outside Object Namespace
This commit is contained in:
parent
09c44f96fd
commit
0098f97c4a
|
@ -353,6 +353,9 @@ class Photo extends BaseObject
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function is used by the fromgplus addon
|
* @brief This function is used by the fromgplus addon
|
||||||
|
*
|
||||||
|
* Stores a photo based on image data or an URL
|
||||||
|
*
|
||||||
* @param integer $uid user id
|
* @param integer $uid user id
|
||||||
* @param string $imagedata optional, default empty
|
* @param string $imagedata optional, default empty
|
||||||
* @param string $url optional, default empty
|
* @param string $url optional, default empty
|
||||||
|
@ -360,7 +363,7 @@ class Photo extends BaseObject
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
* @throws \ImagickException
|
* @throws \ImagickException
|
||||||
*/
|
*/
|
||||||
public static function storePhoto($uid, $imagedata = "", $url = "")
|
public static function storeByData($uid, $imagedata = "", $url = "")
|
||||||
{
|
{
|
||||||
$a = self::getApp();
|
$a = self::getApp();
|
||||||
$logger = $a->getLogger();
|
$logger = $a->getLogger();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user