Skip to content

Commit

Permalink
Removed unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Jan 24, 2022
1 parent a10e4f6 commit e18931c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions system/classes/Autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ public static function load($className)
$path = __DIR__ . self::DS . $className . '.php';

if (file_exists($path)) {
/** @noinspection PhpIncludeInspection */
include $path;
}
} else {
// Legacy Geeklog classes
$path = __DIR__ . self::DS . strtolower($className) . '.class.php';

if (file_exists($path)) {
/** @noinspection PhpIncludeInspection */
include $path;
} else {
if (stripos($className, 'timerobject') === 0) {
Expand Down

0 comments on commit e18931c

Please sign in to comment.