MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory().

This commit is contained in:
Tom Lanyon
2011-09-10 10:43:49 +02:00
committed by Petr Skoda
parent e695890739
commit af9b14446d
20 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ class component_installer {
return COMPONENT_UPTODATE;
}
/// Create temp directory if necesary
if (!make_upload_directory('temp', false)) {
if (!make_temp_directory('', false)) {
$this->errorstring='cannotcreatetempdir';
return COMPONENT_ERROR;
}