Skip to content

Commit

Permalink
Don't manually import JPlatform anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jun 16, 2016
1 parent 3c1c8df commit 4be7a6a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
1 change: 1 addition & 0 deletions administrator/components/com_admin/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,7 @@ public function deleteUnexistingFiles()
'/administrator/manifests/libraries/simplepie.xml',
'/administrator/templates/isis/js/jquery.js',
'/administrator/templates/isis/js/bootstrap.min.js',
'/libraries/platform.php',
);

// TODO There is an issue while deleting folders using the ftp mode
Expand Down
6 changes: 0 additions & 6 deletions libraries/import.legacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
define('IS_MAC', (IS_UNIX === true && ($os === 'DAR' || $os === 'MAC')) ? true : false);
}

// Import the platform version library if necessary.
if (!class_exists('JPlatform'))
{
require_once JPATH_PLATFORM . '/platform.php';
}

// Import the library loader if necessary.
if (!class_exists('JLoader'))
{
Expand Down
6 changes: 0 additions & 6 deletions libraries/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@
define('IS_UNIX', (IS_WIN === false) ? true : false);
}

// Import the platform version library if necessary.
if (!class_exists('JPlatform'))
{
require_once JPATH_PLATFORM . '/platform.php';
}

// Import the library loader if necessary.
if (!class_exists('JLoader'))
{
Expand Down
File renamed without changes.

0 comments on commit 4be7a6a

Please sign in to comment.