Selaa lähdekoodia

edit mailinglists

andre 2 vuotta sitten
vanhempi
commit
4b9b04be7d

+ 2 - 6
app/UI/Client/DistributionList/Providers/EditListDataProvider.php

@@ -99,8 +99,9 @@ class EditListDataProvider extends AddListDataProvider
         $hosting = Hosting::where('id', $this->getRequestValue('id'))->first();
         $hosting = Hosting::where('id', $this->getRequestValue('id'))->first();
 
 
         /**
         /**
-         * load api
+         * load lang
          */
          */
+        $lang = di('lang');
 
 
         $this->data['id'] = $list[0]['id'];
         $this->data['id'] = $list[0]['id'];
 
 
@@ -145,11 +146,6 @@ class EditListDataProvider extends AddListDataProvider
          */
          */
 //        $accounts = $repository->accounts->getByDomainName($hosting->domain);
 //        $accounts = $repository->accounts->getByDomainName($hosting->domain);
 
 
-        /**
-         * load lang
-         */
-        $lang = di('lang');
-
         /**
         /**
          * subscription requests
          * subscription requests
          */
          */