mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Trying to clean up a little bit more (#5517)
* "post-type" replaces "bookmark" and "type" * The permission set is now removed upon expiry * Post update now stores the permission set * We don't store the permissions in the item table anymore * Postupdate now handles "postopts" as well * "post-type" replaces "bookmark" and "type" * "post-type" replaces "bookmark" and "type" * "post-type" replaces "bookmark" and "type" * The permission set is now removed upon expiry * The permission set is now removed upon expiry * We don't store the permissions in the item table anymore * Postupdate now handles "postopts" as well * Multiplicated update functions * And some more duplicated functions ... * Removed duplicate functions
This commit is contained in:
parent
91db91d315
commit
489d3daa94
3 changed files with 1 additions and 29 deletions
|
@ -43,11 +43,6 @@ class Expire
|
|||
if (!empty($row['psid']) && !DBA::exists('item', ['psid' => $row['psid']])) {
|
||||
DBA::delete('permissionset', ['id' => $row['psid']]);
|
||||
}
|
||||
// When the permission set will be used in photo and events as well.
|
||||
// this query here needs to be extended.
|
||||
if (!empty($row['psid']) && !dba::exists('item', ['psid' => $row['psid']])) {
|
||||
dba::delete('permissionset', ['id' => $row['psid']]);
|
||||
}
|
||||
}
|
||||
DBA::close($rows);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue