mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
And again removed notices
This commit is contained in:
parent
9a48452e09
commit
86077da8e5
1 changed files with 11 additions and 10 deletions
|
@ -360,6 +360,7 @@ function pumpio_settings_post(App $a, array &$b)
|
||||||
$host = trim($host);
|
$host = trim($host);
|
||||||
$host = str_replace(["https://", "http://"], ["", ""], $host);
|
$host = str_replace(["https://", "http://"], ["", ""], $host);
|
||||||
|
|
||||||
|
if (isset($_POST['pumpio'])) {
|
||||||
PConfig::set(local_user(), 'pumpio', 'post' , intval($_POST['pumpio']));
|
PConfig::set(local_user(), 'pumpio', 'post' , intval($_POST['pumpio']));
|
||||||
PConfig::set(local_user(), 'pumpio', 'import' , $_POST['pumpio_import']);
|
PConfig::set(local_user(), 'pumpio', 'import' , $_POST['pumpio_import']);
|
||||||
PConfig::set(local_user(), 'pumpio', 'host' , $host);
|
PConfig::set(local_user(), 'pumpio', 'host' , $host);
|
||||||
|
@ -371,7 +372,7 @@ function pumpio_settings_post(App $a, array &$b)
|
||||||
if (!$_POST['pumpio_mirror']) {
|
if (!$_POST['pumpio_mirror']) {
|
||||||
PConfig::delete(local_user(), 'pumpio', 'lastdate');
|
PConfig::delete(local_user(), 'pumpio', 'lastdate');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//header("Location: ".$a->get_baseurl()."/pumpio/connect");
|
//header("Location: ".$a->get_baseurl()."/pumpio/connect");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue