apps/encryption/lib/Util.php
/**
	 * check if recovery key is enabled for user
	 *
	 * @param string $uid
	 * @return bool
	 */
check if recovery key is enabled for user
@param string $uid
@return bool
check if recovery key is enabled for user @param string $uid @return bool
public function isRecoveryEnabledForUser($uid) {
		$recoveryMode = $this->config->getUserValue($uid,
			'encryption',
			'recoveryEnabled',
			'0');
		return ($recoveryMode === '1');
	}
public function isRecoveryEnabledForUser ( $ uid ) { $ recoveryMode = $ this -> config -> getUserValue ( $ uid , 'encryption' , 'recoveryEnabled' , '0' ) ; return ( $ recoveryMode === '1' ) ; }
check if recovery key is enabled for user
 @param string $uid
 @return bool
check if recovery key is enabled for user @param string $uid @return bool