cripple account when expired

This commit is contained in:
Friendika 2011-09-19 01:17:12 -07:00
commit 2aef98f71d
7 changed files with 28 additions and 15 deletions

View file

@ -24,7 +24,7 @@ function receive_post(&$a) {
$guid = $a->argv[2];
$r = q("SELECT * FROM `user` WHERE `guid` = '%s' LIMIT 1",
$r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 LIMIT 1",
dbesc($guid)
);
if(! count($r))