Commit e556f359 authored by Ahmad Asjad's avatar Ahmad Asjad
Browse files

protected beforAction > public beforeAction

parent 3aadcbe6
......@@ -15,7 +15,7 @@ use CommunecterController;
class CoController extends CommunecterController {
protected function beforeAction($action) {
public function beforeAction($action) {
//parent::initPage();
return parent::beforeAction($action);
}
......
......@@ -35,7 +35,7 @@ class DefaultController extends CommunecterController
* @param string $action
* @return void
*/
protected function beforeAction($action)
public function beforeAction($action)
{
//parent::initPage();
return parent::beforeAction($action);
......
......@@ -14,7 +14,7 @@ use CommunecterController;
*/
class ErrorController extends CommunecterController {
protected function beforeAction($action)
public function beforeAction($action)
{
return parent::beforeAction($action);
}
......
......@@ -32,7 +32,7 @@ class GitlabController extends CommunecterController
* @param string $action
* @return void
*/
protected function beforeAction($action)
public function beforeAction($action)
{
////$_POST must have min index['id','name','type','categorie] with set value
//var_dump($_POST);exit;
......
......@@ -31,7 +31,7 @@ class MediawikiController extends CommunecterController
* @param string $action
* @return void
*/
protected function beforeAction($action)
public function beforeAction($action)
{
//var_dump(["test controller" => [$_POST]]);exit;
$this->api = new ApiMediaWiki();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment