CC-3230: Show appropriate error message if disk is full when attempting to upload files via the web UI

- updated formating of file, removed tabs in favour of four spaces for some lines.
This commit is contained in:
Daniel 2012-02-28 13:47:57 -05:00
parent 31abc21aaa
commit 15552319aa
1 changed files with 184 additions and 185 deletions

View File

@ -901,7 +901,6 @@ class Application_Model_StoredFile {
#warn the user that the file wasn't uploaded and they should check if there is enough disk space.
unlink($audio_file);//remove the file from the organize after failed rename
$result = array("code" => 108, "message" => "The file was not uploaded, this error will occur if the computer hard drive does not have enough disk space.");
}
}
}