Permalink
Browse files

Remove jimport from filesystem package

  • Loading branch information...
1 parent 34601ec commit 96ba5bd0d74b0f4fd4357c4ff2a91d51c48deef4 @dongilbert committed Mar 27, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −4 src/Joomla/Filesystem/Folder.php
  2. +0 −2 src/Joomla/Filesystem/Path.php
@@ -333,8 +333,6 @@ public static function delete($path)
if (!empty($files))
{
- jimport('joomla.filesystem.file');
-
if (File::delete($files) !== true)
{
// File::delete throws an error
@@ -350,8 +348,6 @@ public static function delete($path)
if (is_link($folder))
{
// Don't descend into linked directories, just delete the link.
- jimport('joomla.filesystem.file');
-
if (File::delete($folder) !== true)
{
// File::delete throws an error
@@ -226,8 +226,6 @@ public static function clean($path, $ds = DIRECTORY_SEPARATOR)
*/
public static function isOwner($path)
{
- jimport('joomla.filesystem.file');
-
$tmp = md5(mt_rand());
$ssp = ini_get('session.save_path');
$jtp = JPATH_SITE . '/tmp';

0 comments on commit 96ba5bd

Please sign in to comment.