@@ -68,7 +68,7 @@ public function create(Request $request): \Illuminate\Http\Response
6868 $ maxWikis = config ('wbstack.wiki_max_per_user ' );
6969
7070 if ( config ('wbstack.wiki_max_per_user ' ) !== false && $ numWikis > config ('wbstack.wiki_max_per_user ' )) {
71- abort (403 , "Too many wikis. Your new total of {$ numWikis } would exceed the limit of $ { maxWikis} per user. " );
71+ abort (403 , "Too many wikis. Your new total of {$ numWikis } would exceed the limit of { $ maxWikis } per user. " );
7272 }
7373
7474 $ wiki = Wiki::create ([
@@ -114,22 +114,22 @@ public function create(Request $request): \Illuminate\Http\Response
114114 ]);
115115
116116 // TODO maybe always make these run in a certain order..?
117- $ this -> dispatch (new MediawikiInit ($ wiki ->domain , $ request ->input ('username ' ), $ user ->email ));
117+ dispatch (new MediawikiInit ($ wiki ->domain , $ request ->input ('username ' ), $ user ->email ));
118118 // Only dispatch a job to add a k8s ingress IF we are using a custom domain...
119119 if (! $ isSubdomain ) {
120- $ this -> dispatch (new KubernetesIngressCreate ($ wiki ->id , $ wiki ->domain ));
120+ dispatch (new KubernetesIngressCreate ($ wiki ->id , $ wiki ->domain ));
121121 }
122122 });
123123
124124
125125 // dispatch elasticsearch init job to enable the feature
126126 if ( Config::get ('wbstack.elasticsearch_enabled_by_default ' ) ) {
127- $ this -> dispatch (new ElasticSearchIndexInit ($ wiki ->id ));
127+ dispatch (new ElasticSearchIndexInit ($ wiki ->id ));
128128 }
129129
130130 // opportunistic dispatching of jobs to make sure storage pools are topped up
131- $ this -> dispatch (new ProvisionWikiDbJob (null , null , 10 ));
132- $ this -> dispatch (new ProvisionQueryserviceNamespaceJob (null , 10 ));
131+ dispatch (new ProvisionWikiDbJob (null , null , 10 ));
132+ dispatch (new ProvisionQueryserviceNamespaceJob (null , 10 ));
133133
134134 $ res ['success ' ] = true ;
135135 $ res ['message ' ] = 'Success! ' ;
0 commit comments