Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes - Replacing BaseObject::getApp() with this class
This commit is contained in:
@@ -344,7 +344,7 @@ function drop_items(array $items)
|
||||
|
||||
function drop_item($id, $return = '')
|
||||
{
|
||||
$a = BaseObject::getApp();
|
||||
$a = Friendica\DI::app();
|
||||
|
||||
// locate item to be deleted
|
||||
|
||||
|
||||
Reference in New Issue
Block a user