mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Separate Object\Photo into Model\Photo and Object\Image
- Renamed a bunch of functions to shorter or clearer names
This commit is contained in:
parent
7499824381
commit
3fc3e67b70
22 changed files with 464 additions and 408 deletions
|
@ -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", ">");
|
||||
|
||||
|
|
|
@ -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", ">");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue