diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-01 17:40:17 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-01 17:40:17 -0500 |
commit | 3a58c21904d22c0e2f80891f265ba4d687f838e3 (patch) | |
tree | 99ac5f2cf579e9ac999918b86c1f77f0b6f92e9c | |
parent | 035c2107fdb266358ed218e6a3551e5cad39fe18 (diff) | |
download | elgg-3a58c21904d22c0e2f80891f265ba4d687f838e3.tar.gz elgg-3a58c21904d22c0e2f80891f265ba4d687f838e3.tar.bz2 |
Refs #2290 removes check for username
-rw-r--r-- | engine/classes/ElggDiskFilestore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggDiskFilestore.php b/engine/classes/ElggDiskFilestore.php index 11b2bd947..f00376481 100644 --- a/engine/classes/ElggDiskFilestore.php +++ b/engine/classes/ElggDiskFilestore.php @@ -205,7 +205,7 @@ class ElggDiskFilestore extends ElggFilestore { $owner = elgg_get_logged_in_user_entity(); } - if ((!$owner) || (!$owner->username)) { + if (!$owner) { $msg = elgg_echo('InvalidParameterException:MissingOwner', array($file->getFilename(), $file->guid)); throw new InvalidParameterException($msg); |