parent
c1901a68ec
commit
dfd9a873f8
|
@ -4,7 +4,7 @@ use BitBadger\PDODocument\{AutoId, Configuration};
|
|||
use FeedReaderCentral\Data;
|
||||
|
||||
/** The current Feed Reader Central version */
|
||||
const FRC_VERSION = '1.0.0-beta2';
|
||||
const FRC_VERSION = '1.0.0-beta3';
|
||||
|
||||
/**
|
||||
* Drop .0 or .0.0 from the end of the version to format it for display
|
||||
|
|
|
@ -172,7 +172,7 @@ function delete_user(string $email): void
|
|||
}
|
||||
|
||||
try {
|
||||
$fields = [Field::EQ('user_id', $user->id, '@user')];
|
||||
$fields = [Field::EQ('user_id', $user->id, ':user')];
|
||||
Custom::nonQuery(
|
||||
'DELETE FROM ' . Table::ITEM . " WHERE data->>'feed_id' IN (SELECT data->>'id' FROM " . Table::FEED
|
||||
. ' WHERE ' . Query::whereByFields($fields) . ')', Parameters::addFields($fields, []));
|
||||
|
|
Loading…
Reference in New Issue
Block a user