There is now only one central parameter for the global directory.

This commit is contained in:
Michael Vogel 2015-09-15 22:29:02 +02:00
parent 6b744aa71c
commit 5ac38b7f99
19 changed files with 92 additions and 99 deletions

View file

@ -33,7 +33,7 @@ function create_user($arr) {
$verified = ((x($arr,'verified')) ? intval($arr['verified']) : 0);
$publish = ((x($arr,'profile_publish_reg') && intval($arr['profile_publish_reg'])) ? 1 : 0);
$netpublish = ((strlen(get_config('system','directory_submit_url'))) ? $publish : 0);
$netpublish = ((strlen(get_config('system','directory'))) ? $publish : 0);
if ($password1 != $confirm) {
$result['message'] .= t('Passwords do not match. Password unchanged.') . EOL;