cc-3936: Renamed metadata key for owner id.
This commit is contained in:
parent
1654d524d1
commit
fcc853b732
|
@ -150,7 +150,7 @@ class Application_Model_StoredFile
|
|||
if(!$owner) { // no owner detected, we try to assign one.
|
||||
// if MDATA_OWNER_ID is not set then we default to the
|
||||
// first admin user we find
|
||||
if (!array_key_exists('MDATA_OWNER_ID', $p_md)) {
|
||||
if (!array_key_exists('MDATA_KEY_OWNER_ID', $p_md)) {
|
||||
//$admins = Application_Model_User::getUsers(array('A'));
|
||||
$admins = Application_Model_User::getUsersOfType('A');
|
||||
//$admins = array();
|
||||
|
|
Loading…
Reference in New Issue