Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove jimport from filesystem package #97

Merged
merged 1 commit into from

2 participants

@dongilbert
Collaborator

No description provided.

@realityking realityking merged commit 4777fe6 into joomla:staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 27, 2013
  1. @dongilbert
This page is out of date. Refresh to see the latest.
View
4 src/Joomla/Filesystem/Folder.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
View
2  src/Joomla/Filesystem/Path.php
@@ -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';
Something went wrong with that request. Please try again.