Skip to content

Commit

Permalink
Fixed media and Quota Panel
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@351 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
torinfo committed May 26, 2012
1 parent 123704a commit 017df21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website_code/php/properties/media_and_quota_template.php
@@ -1,6 +1,6 @@
<?php
/**
*
*
* media and quota template, specifies which files in the media folder are in use so they can be deleted
*
* @author Patrick Lockley
Expand All @@ -23,7 +23,7 @@
$quota=0;

/**
*
*
* Function in use
* This function copies files from one folder to another (does not move - copies)
* @param string $file_name - the file name we are checking for
Expand All @@ -49,7 +49,7 @@ function in_use($file_name){
$delete_string = array();

/**
*
*
* Function media folder loop
* This function copies files from one folder to another (does not move - copies)
* @param string $folder_name - path to the media folder to loop through
Expand Down Expand Up @@ -85,14 +85,14 @@ function media_folder_loop($folder_name){
* add the files to the delete array that are not in use so they can be listed for use in the delete function
*/

array_push($delete_string,$f);
array_push($delete_string,$f);

}
$quota += filesize($full);
}

array_push($result_string,$result);
$result="";
array_push($result_string,$result);
$result="";
}

}

Expand Down

0 comments on commit 017df21

Please sign in to comment.