aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-17 22:09:41 -0700
committerzotlabs <mike@macgirvin.com>2016-10-17 22:09:41 -0700
commit17091bd38c4e4e5d8b1812dd1d9efeffe0046d02 (patch)
tree74a4d72846767c58d26b113b14de3da4dd0fb0c0 /Zotlabs/Lib/Enotify.php
parent437aa168d136db2c782ed2b366e411721f5f605c (diff)
downloadvolse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.tar.gz
volse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.tar.bz2
volse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.zip
add get_photo hook to go along with get_profile_photo hook. This allows a plugin to over-ride the permissions for cover photos or insert a different photo in place of that requested
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 9b4117b9c..ffe2f0950 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -78,15 +78,12 @@ class Enotify {
$sender_email = get_config('system','from_email');
if(! $sender_email)
$sender_email = 'Administrator' . '@' . \App::get_hostname();
-
$sender_name = get_config('system','from_email_name');
if(! $sender_name)
$sender_name = \Zotlabs\Lib\System::get_site_name();
-
-
$additional_mail_header = "";
if(array_key_exists('item', $params)) {