Photo to src
Move Photo to Friendica\Object namespace and replace require_once statments with use statements.
This commit is contained in:
parent
7b5a0fdbe0
commit
54827e7fed
27 changed files with 68 additions and 60 deletions
|
|
@ -1,10 +1,12 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file mod/photo.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Object\Photo;
|
||||
|
||||
require_once('include/security.php');
|
||||
require_once('include/Photo.php');
|
||||
require_once 'include/security.php';
|
||||
|
||||
function photo_init(App $a) {
|
||||
global $_SERVER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue