diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-03-03 15:05:00 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-03-03 15:05:28 +0100 |
commit | b725d7d52cd631f1623012f167599dc08a8639c7 (patch) | |
tree | 82d84305a73a43bc8502f165e463f9e355a5d101 /lib/Travelynx/Command/database.pm | |
parent | ad544949ad99095aeee707336cab981f5309122c (diff) |
set default visibility to unlisted
Diffstat (limited to 'lib/Travelynx/Command/database.pm')
-rw-r--r-- | lib/Travelynx/Command/database.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/database.pm b/lib/Travelynx/Command/database.pm index 82f1f47..985b66d 100644 --- a/lib/Travelynx/Command/database.pm +++ b/lib/Travelynx/Command/database.pm @@ -1384,7 +1384,9 @@ my @migrations = ( my $res = $db->select( 'users', [ 'id', 'public_level' ] ); while ( my $row = $res->hash ) { my $old_level = $row->{public_level}; - my $new_level = 0; + + # status default: unlisted + my $new_level = 30; if ( $old_level & 0x01 ) { # status: account required |