mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Fixed description
This commit is contained in:
parent
366ff0a8b7
commit
28600a7cf8
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ function pre_update_1348()
|
|||
function update_1348()
|
||||
{
|
||||
// Insert a permissionset with id=0
|
||||
// Setting it to -1 and then changing the value to 0 tricks the auto increment
|
||||
// Inserting it without an ID and then changing the value to 0 tricks the auto increment
|
||||
if (!DBA::exists('permissionset', ['id' => 0])) {
|
||||
DBA::insert('permissionset', ['allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '']);
|
||||
$lastid = DBA::lastInsertId();
|
||||
|
|
Loading…
Reference in a new issue