$this->cleanURL = 0;
}
- $this->userFrameworkVersion = $this->userSystem->getVersion();
-
if ($userFramework == 'Joomla') {
/** @var object|null $mainframe */
global $mainframe;
* Default user framework. This basically makes Drupal 7 the default
*/
public $userFramework = 'Drupal';
- public $userFrameworkVersion = 'Unknown';
public $userFrameworkUsersTableName = 'users';
public $userFrameworkClass = 'CRM_Utils_System_Drupal';
public $userHookClass = 'CRM_Utils_Hook_Drupal';
$title = ts('%1 User: %2; user id: %3', array(1 => $config->userFramework, 2 => '$ufname', 3 => '$ufid'));
}
elseif ($config->userFramework == 'Joomla') {
- $userRecordUrl = $config->userFrameworkVersion > 1.5 ? $config->userFrameworkBaseURL . "index.php?option=com_users&view=user&task=user.edit&id=" . '%ufid' : $config->userFrameworkBaseURL . "index2.php?option=com_users&view=user&task=edit&id[]=" . '%ufid';
+ $userRecordUrl = $config->userSystem->getVersion() > 1.5 ? $config->userFrameworkBaseURL . "index.php?option=com_users&view=user&task=user.edit&id=" . '%ufid' : $config->userFrameworkBaseURL . "index2.php?option=com_users&view=user&task=edit&id[]=" . '%ufid';
$title = ts('%1 User: %2; user id: %3', array(1 => $config->userFramework, 2 => '$ufname', 3 => '$ufid'));
}
'uf' => $config->userFramework,
'lang' => $config->lcMessages,
'co' => $config->defaultContactCountry,
- 'ufv' => $config->userFrameworkVersion,
+ 'ufv' => $config->userSystem->getVersion(),
'PHP' => phpversion(),
'MySQL' => CRM_CORE_DAO::singleValueQuery('SELECT VERSION()'),
'communityMessagesUrl' => Civi::settings()->get('communityMessagesUrl'),