mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
Merge remote branch 'upstream/master'
Conflicts: include/bb2diaspora.php
This commit is contained in:
commit
bfca7f47ef
282 changed files with 35083 additions and 2632 deletions
|
@ -605,6 +605,9 @@ function validate_url(&$url) {
|
|||
if(! function_exists('validate_email')) {
|
||||
function validate_email($addr) {
|
||||
|
||||
if(get_config('system','disable_email_validation'))
|
||||
return true;
|
||||
|
||||
if(! strpos($addr,'@'))
|
||||
return false;
|
||||
$h = substr($addr,strpos($addr,'@') + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue