cc-3936: Renamed metadata key for owner id.

This commit is contained in:
Rudi Grinberg 2012-08-24 18:19:32 -04:00
parent 1654d524d1
commit fcc853b732
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Application_Model_StoredFile
if(!$owner) { // no owner detected, we try to assign one. if(!$owner) { // no owner detected, we try to assign one.
// if MDATA_OWNER_ID is not set then we default to the // if MDATA_OWNER_ID is not set then we default to the
// first admin user we find // 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::getUsers(array('A'));
$admins = Application_Model_User::getUsersOfType('A'); $admins = Application_Model_User::getUsersOfType('A');
//$admins = array(); //$admins = array();