mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 01:23:16 +00:00
Pumpio: Showing the side menu in the connection process.
This commit is contained in:
parent
ee22754ac0
commit
e1810b5e72
1 changed files with 3 additions and 5 deletions
|
@ -39,10 +39,8 @@ function pumpio_content(&$a) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (function_exists("apc_delete")) {
|
require_once("mod/settings.php");
|
||||||
$toDelete = new APCIterator('user', APC_ITER_VALUE);
|
settings_init($a);
|
||||||
apc_delete($toDelete);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($a->argv[1]))
|
if (isset($a->argv[1]))
|
||||||
switch ($a->argv[1]) {
|
switch ($a->argv[1]) {
|
||||||
|
@ -323,7 +321,7 @@ function pumpio_settings_post(&$a,&$b) {
|
||||||
set_pconfig(local_user(),'pumpio','mirror',$_POST['pumpio_mirror']);
|
set_pconfig(local_user(),'pumpio','mirror',$_POST['pumpio_mirror']);
|
||||||
set_pconfig(local_user(),'pumpio','post_by_default',intval($_POST['pumpio_bydefault']));
|
set_pconfig(local_user(),'pumpio','post_by_default',intval($_POST['pumpio_bydefault']));
|
||||||
|
|
||||||
header("Location: ".$a->get_baseurl()."/pumpio/connect");
|
//header("Location: ".$a->get_baseurl()."/pumpio/connect");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue