Skip to content
Snippets Groups Projects
Commit 0f6c6071 authored by Jens-Christian Fischer's avatar Jens-Christian Fischer
Browse files

added function documentation

parent 50639309
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment