mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Merge pull request #4031 from MrPetovan/task/3878-move-objects-to-model
Move Objects to Model
This commit is contained in:
commit
e437c74d0e
77 changed files with 636 additions and 593 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", ">");
|
||||
|
|
|
@ -15,7 +15,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Model\GContact;
|
||||
|
||||
require_once "include/plugin.php";
|
||||
require_once "mod/proxy.php";
|
||||
|
@ -139,7 +139,7 @@ function vier_community_info() {
|
|||
|
||||
// comunity_profiles
|
||||
if ($show_profiles) {
|
||||
$r = GlobalContact::suggestionQuery(local_user(), 0, 9);
|
||||
$r = GContact::suggestionQuery(local_user(), 0, 9);
|
||||
|
||||
$tpl = get_markup_template('ch_directory_item.tpl');
|
||||
if (DBM::is_result($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue