public static function assignUserToKey( $userId, $key )
	{
		$objKey = C4gActivationkeyModel::findBy( 'activationkey', hash('sha256', $key) );
		if (empty( $objKey ) || $objKey->used_by != 0) { return false; }
		$objKey->used_by = $userId;
		$objKey->save();
		return true;
	}