Separate Object\Photo into Model\Photo and Object\Image

- Renamed a bunch of functions to shorter or clearer names
This commit is contained in:
Hypolite Petovan 2017-12-07 08:56:11 -05:00
parent 7499824381
commit 3fc3e67b70
22 changed files with 464 additions and 408 deletions

View file

@ -12,7 +12,7 @@ use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Core\System;
use Friendica\Database\DBM;
use Friendica\Object\Photo;
use Friendica\Object\Image;
$frio = "view/theme/frio";
@ -82,7 +82,7 @@ function frio_uninstall() {
*/
function frio_item_photo_links(App $a, &$body_info)
{
$phototypes = Photo::supportedTypes();
$phototypes = Image::supportedTypes();
$occurence = 1;
$p = bb_find_open_close($body_info['html'], "<a", ">");

View file

@ -11,7 +11,7 @@
use Friendica\App;
use Friendica\Core\System;
use Friendica\Object\Photo;
use Friendica\Object\Image;
function frost_init(App $a) {
$a->videowidth = 400;
@ -48,7 +48,7 @@ function frost_uninstall() {
function frost_item_photo_links(App $a, &$body_info)
{
$phototypes = Photo::supportedTypes();
$phototypes = Image::supportedTypes();
$occurence = 1;
$p = bb_find_open_close($body_info['html'], "<a", ">");