Skip to content

Commit

Permalink
Merge pull request #257 from wilsonge/patch-25
Browse files Browse the repository at this point in the history
Fix unit tests
  • Loading branch information
Michael Babker committed May 20, 2014
2 parents d62d2c2 + 33db324 commit 31739e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 14 additions & 0 deletions libraries/joomla/application/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,18 @@ public function loadIdentity(JUser $identity = null)

return $this;
}

/**
* Method to run the application routines. Most likely you will want to instantiate a controller
* and execute it, or perform some sort of task directly.
*
* @return void
*
* @since 3.4 (CMS)
*/
protected function doExecute()
{
return;
}

}
2 changes: 1 addition & 1 deletion libraries/joomla/application/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct(JInputCli $input = null, JRegistry $config = null, J
{
if (class_exists('JInput'))
{
$this->input = new JInputCLI;
$this->input = new JInputCli;
}
}

Expand Down
14 changes: 0 additions & 14 deletions libraries/legacy/application/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -1183,18 +1183,4 @@ public function __toString()

return JResponse::toString($compress);
}

/**
* Method to run the application routines. Most likely you will want to instantiate a controller
* and execute it, or perform some sort of task directly.
*
* @return void
*
* @since 3.4 (CMS)
* @deprecated 4.0
*/
protected function doExecute()
{
return;
}
}

0 comments on commit 31739e2

Please sign in to comment.