mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 01:46:27 +02:00
Fix use of old db
This commit is contained in:
parent
628527c70f
commit
46ebd39c04
6 changed files with 54 additions and 48 deletions
|
@ -61,7 +61,6 @@ namespace controllers\publics;
|
|||
if (!$this->verify_csrf($csrf))
|
||||
{
|
||||
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Jeton CSRF invalid !');
|
||||
|
||||
return $this->redirect(\descartes\Router::url('Contact', 'list'));
|
||||
}
|
||||
|
||||
|
@ -91,7 +90,6 @@ namespace controllers\publics;
|
|||
*/
|
||||
public function edit()
|
||||
{
|
||||
global $db;
|
||||
$ids = $_GET['ids'] ?? [];
|
||||
|
||||
$contacts = $this->internal_contact->gets($ids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue