Skip to content

Commit

Permalink
fix: changing orgs for pro moderators #8125
Browse files Browse the repository at this point in the history
  • Loading branch information
off committed Feb 28, 2023
1 parent 6363862 commit 7789703
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/snippets/remove_broken_entry_with_empty_email.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/perl -w

use strict;

use ProductOpener::Config qw/:all/;
use ProductOpener::Store qw/:all/;

my $emails_ref = retrieve("$data_root/users/users_emails.sto");

if(defined $emails_ref->{''}) {
delete $emails_ref->{''};
store("$data_root/users/users_emails.sto", $emails_ref);
}

0 comments on commit 7789703

Please sign in to comment.