diff options
author | Jens-Christian Fischer <jens-christian.fischer@switch.ch> | 2014-01-24 14:22:42 +0100 |
---|---|---|
committer | Jens-Christian Fischer <jens-christian.fischer@switch.ch> | 2014-01-24 14:22:42 +0100 |
commit | 0f6c60717140c885ebb33dfc38d94081a894dd6d (patch) | |
tree | c72b579227a3f1c980c0a4687145ebcf0f05f80d /lib/public/util.php | |
parent | 506393090bf33ea1aa3a18983748e6a5b4078d4d (diff) | |
download | nextcloud-server-0f6c60717140c885ebb33dfc38d94081a894dd6d.tar.gz nextcloud-server-0f6c60717140c885ebb33dfc38d94081a894dd6d.zip |
added function documentation
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 8514a168b46..6317f10a66f 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -254,6 +254,10 @@ class Util { * Example: when given lostpassword-noreply as $user_part param, * and is currently accessed via http(s)://example.com/, * it would return 'lostpassword-noreply@example.com' + * + * If the configuration value 'mail_from_address' is set in + * config.php, this value will override the $user_part that + * is passed to this function */ public static function getDefaultEmailAddress($user_part) { $user_part = \OC_Config::getValue('mail_from_address', $user_part); |