Skip to content

Commit

Permalink
Always check quota in top-level domain https://forum.virtualmin.com/t…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 3, 2022
1 parent 640f3a8 commit 96ea4fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts-lib.pl
Expand Up @@ -3424,6 +3424,9 @@ sub script_migrated_status
sub check_script_quota
{
my ($d, $script, $ver) = @_;
if ($d->{'parent'}) {
$d = &get_domain($d->{'parent'});
}
my $qfunc = "script_".$script->{'name'}."_required_quota";
if (defined(&$qfunc)) {
my ($need, $units) = &$qfunc($ver);
Expand Down

0 comments on commit 96ea4fe

Please sign in to comment.