parent
9893282e43
commit
23e3f6137d
|
@ -901,6 +901,12 @@ class Application_Model_StoredFile
|
||||||
hard drive does not have enough disk space or the stor
|
hard drive does not have enough disk space or the stor
|
||||||
directory does not have correct write permissions. ");
|
directory does not have correct write permissions. ");
|
||||||
}
|
}
|
||||||
|
// Now that we successfully added this file, we will add another tag
|
||||||
|
// file that will identify the user that owns it
|
||||||
|
$uid = Application_Model_User::getCurrentUser()->getId();
|
||||||
|
if (file_put_contents($audio_stor,$uid) === false) {
|
||||||
|
Logging::info("Could write file to identify user: '$uid'");
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue