rebase code on oct-10-2023
This commit is contained in:
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
||||
namespace Imagify\Notices;
|
||||
|
||||
use Imagify\Traits\InstanceGetterTrait;
|
||||
use Imagify\User\User;
|
||||
|
||||
/**
|
||||
* Class that handles the admin notices.
|
||||
@@ -468,7 +467,7 @@ class Notices {
|
||||
return $display;
|
||||
}
|
||||
|
||||
$user = new User();
|
||||
$user = new \Imagify_User();
|
||||
|
||||
// Don't display the notice if the user's unconsumed quota is superior to 20%.
|
||||
if ( $user->get_percent_unconsumed_quota() > 20 ) {
|
||||
|
||||
Reference in New Issue
Block a user