set_pconfig(local_user(),'fromgplus','account',trim($_POST['fromgplus-account']));
$enable = ((x($_POST,'fromgplus-enable')) ? intval($_POST['fromgplus-enable']) : 0);
set_pconfig(local_user(),'fromgplus','enable', $enable);
+
+ if (!$enable)
+ del_pconfig(local_user(),'fromgplus','lastdate');
}
}
}
if($username && $password) {
require_once("addon/gpluspost/postToGooglePlus.php");
require_once("include/plaintext.php");
- require_once("include/network.php");
$item = $b;