Add Model\Introduction class to DI registry
This commit is contained in:
parent
2cb449a0d5
commit
df0c05d635
5 changed files with 10 additions and 15 deletions
|
@ -31,9 +31,7 @@ function notifications_post(App $a)
|
|||
}
|
||||
|
||||
if ($request_id) {
|
||||
/** @var Introduction $Intro */
|
||||
$Intro = \Friendica\BaseObject::getClass(Introduction::class);
|
||||
$Intro->fetch(['id' => $request_id, 'uid' => local_user()]);
|
||||
$Intro = DI::intro()->fetch(['id' => $request_id, 'uid' => local_user()]);
|
||||
|
||||
switch ($_POST['submit']) {
|
||||
case L10n::t('Discard'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue