diff --git a/application/modules/admin/views/scripts/users/manage-double-user.phtml b/application/modules/admin/views/scripts/users/manage-double-user.phtml index de2aba636354137fc7756afeaee5110638505224..8b9e94368b55cc11e61d851b47e05bebda7616b6 100644 --- a/application/modules/admin/views/scripts/users/manage-double-user.phtml +++ b/application/modules/admin/views/scripts/users/manage-double-user.phtml @@ -45,6 +45,16 @@ $attribs = []; if ($this->previous == '') $attribs = ['disabled' => 'disabled']; +echo $this->button((new Class_Entity()) + ->setUrl($this->url(['module' => 'admin', + 'controller' => 'users', + 'action' => 'index' + ])) + ->setImage($this->tagImg(Class_Admin_Skin::current() + ->getIconUrl('actions', + 'back'), + ['style' => 'filter: invert();'])) + ->setText($this->_('Retour à la gestion des utilisateurs'))); echo $this->button((new Class_Entity()) ->setUrl($this->url(['module' => 'admin', diff --git a/application/modules/admin/views/scripts/users/manage-double.phtml b/application/modules/admin/views/scripts/users/manage-double.phtml index c28715e424dfec38780fbfc0de6040b82ec7310f..36d21803f3af86eca94fcc23cb8992ea879ea055 100644 --- a/application/modules/admin/views/scripts/users/manage-double.phtml +++ b/application/modules/admin/views/scripts/users/manage-double.phtml @@ -3,8 +3,6 @@ echo $this->tag('p', $this->_('Vous avez %s comptes abonnés possédant au moins un doublon dans votre base de données.', $this->tag('b', $this->double_manager->countDouble()))); - - echo $this->button((new Class_Entity()) ->setUrl($this->url(['module' => 'admin', 'controller' => 'users', diff --git a/library/Class/User/DbDoubleFinder.php b/library/Class/User/DbDoubleFinder.php index d8146fea882a03de3724c9475915b8d7475fd89a..ac73a7a57746fecaa76f693b222e3625e46098e4 100644 --- a/library/Class/User/DbDoubleFinder.php +++ b/library/Class/User/DbDoubleFinder.php @@ -115,7 +115,6 @@ class Class_User_DbDoubleFinder { } - public function getFirstDoubleInLimit($cursor = 0) { $double = $this->getDouble($cursor); return array_slice($double, 0, static::LIMIT_DEDUPE);