]> git.agnieray.net Git - galette.git/commitdiff
Fix namespaces
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 11 May 2020 11:32:13 +0000 (13:32 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 11 May 2020 11:32:13 +0000 (13:32 +0200)
galette/includes/routes/management.routes.php
galette/lib/Galette/Controllers/Crud/ContributionsController.php
galette/lib/Galette/Controllers/PluginsController.php

index fb2c02b2003a141dc7cc63636a402c0c234cd18d..2dc49941ef345f254954316ed62499b0cdd9c174 100644 (file)
@@ -55,7 +55,6 @@ use Galette\Entity\Title;
 use Galette\Repository\Titles;
 use Galette\Entity\Texts;
 use Galette\Core\Install;
-use Laminas\Db\Adapter\Adapter;
 use Galette\Entity\Status;
 
 //galette's dashboard
index 9938268bd803aa5813f1efbe642534e577fc865d..27f138eac8a8c1948ac4e4ff55c5a1ce8e28574d 100644 (file)
@@ -590,7 +590,7 @@ class ContributionsController extends CrudController
                     if ($new) {
                         //if an external script has been configured, we call it
                         if ($this->preferences->pref_new_contrib_script) {
-                            $es = new Galette\IO\ExternalScript($this->preferences);
+                            $es = new \Galette\IO\ExternalScript($this->preferences);
                             $res = $contrib->executePostScript($es);
 
                             if ($res !== true) {
index 5ee85028a0a760c490a74aa456aa8bf6726539e0..6ba9b5745054070effbdc36688df2f0053182520 100644 (file)
@@ -40,6 +40,7 @@ namespace Galette\Controllers;
 use Slim\Http\Request;
 use Slim\Http\Response;
 use Galette\Core\PluginInstall;
+use Laminas\Db\Adapter\Adapter;
 use Analog\Analog;
 
 /**