Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
Updated to 1.1.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed Sep 11, 2017
1 parent ba95538 commit 0c4df8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

* Deleted `config/modules.php` settings file.

* Deleted `Eliasis\Cleaner\Cleaner->_runCleaner()` method.

## 1.1.0 - 2017-06-24

* Added `Eliasis\App\App->_runHooks()` method.
Expand Down
22 changes: 0 additions & 22 deletions src/App/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public static function run($baseDirectory, $type = 'app', $id = '0') {
$that->_setUrls($baseDirectory, $type);
$that->_setIp();
$that->_runErrorHandler();
$that->_runCleaner();
$that->_getSettings();
$that->_runHooks();
$that->_runComplements();
Expand All @@ -118,27 +117,6 @@ private function _runErrorHandler() {
}
}

/**
* Cleaning resources.
*
* @since 1.0.1
*
* @uses void Cleaner::removeMagicQuotes() → remove magic quotes
* @uses void Cleaner::unregisterGlobals() → remove register globals
*
* @link https://github.com/Josantonius/PHP-Cleaner
*
* @return void
*/
private function _runCleaner() {

if (class_exists($Cleaner = 'Josantonius\Cleaner\Cleaner')) {

$Cleaner::removeMagicQuotes();
$Cleaner::unregisterGlobals();
}
}

/**
* Set application paths.
*
Expand Down

0 comments on commit 0c4df8f

Please sign in to comment.