refactor(shop-coupon): migrate admin module to DI and release 0.266
This commit is contained in:
@@ -154,6 +154,7 @@ class UserRepository
|
||||
]);
|
||||
|
||||
if ($inserted) {
|
||||
\S::delete_dir('../temp/');
|
||||
return ['status' => 'ok', 'msg' => 'Uzytkownik zostal zapisany.'];
|
||||
}
|
||||
|
||||
@@ -186,6 +187,7 @@ class UserRepository
|
||||
'id' => $userId,
|
||||
]);
|
||||
|
||||
\S::delete_dir('../temp/');
|
||||
return ['status' => 'ok', 'msg' => 'Uzytkownik zostal zapisany.'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user