Skip to content

Commit 8bc7cb0

Browse files
committed
Rename getTempDirectory to getUploadTempDirectory to avoid BIF collision
1 parent b5efaf4 commit 8bc7cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/FileUpload.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ component {
111111
/**
112112
* Returns the path to the temp directory (mockable in tests)
113113
*/
114-
function getTempDirectory(){
114+
function getUploadTempDirectory(){
115115
return getCanonicalPath( variables.moduleSettings.moduleRootPath & "models/tmp" );
116116
}
117117

118118
/**
119119
* Returns the full path to the metadata file (mockable in tests)
120120
*/
121121
function getMetaPath(){
122-
return getCanonicalPath( getTempDirectory() & "/#variables.uuid#.json" );
122+
return getCanonicalPath( getUploadTempDirectory() & "/#variables.uuid#.json" );
123123
}
124124
}

0 commit comments

Comments
 (0)