Move System::httpExit to BaseModule->httpExit
- This will ensure headers set in BaseModule->run will be carried in httpExit scenarios - Deprecate httpExit() method in Core\System
This commit is contained in:
@@ -74,6 +74,6 @@ class Share extends \Friendica\BaseModule
|
||||
$content = '[share]' . $item['uri'] . '[/share]';
|
||||
}
|
||||
|
||||
System::httpExit($content);
|
||||
$this->httpExit($content);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user