mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Replaced goaway() with System::redirectTo()
This commit is contained in:
parent
a95606a10a
commit
3d3a11fa46
5 changed files with 13 additions and 8 deletions
|
@ -75,6 +75,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -260,7 +261,7 @@ function twitter_settings_post(App $a)
|
|||
info($e->getMessage());
|
||||
}
|
||||
// reload the Addon Settings page, if we don't do it see Bug #42
|
||||
$a->internalRedirect('settings/connectors');
|
||||
System::redirectTo('settings/connectors');
|
||||
} else {
|
||||
// if no PIN is supplied in the POST variables, the user has changed the setting
|
||||
// to post a tweet for every new __public__ posting to the wall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue