Skip to content

Instantly share code, notes, and snippets.

View ThomasGsp's full-sized avatar

Thomas.GSP ThomasGsp

View GitHub Profile
#!/bin/bash
# Auteur : Tlams
# Date : 13/02/13
# Script description : Permet de monter un serveur OPENVPN de façon guidé !
############# Liste des fonctions:###############
## Menu: Permet d'afficher le menu de choix
## downloadopenvpn: Permet de télécharger OpenVPN
## config_openvpn: Configuration de OPENVPN
## conf_var: Permet de modifier les variables du fichier "var" afin d'avoir certaines configurations prè-enregistrés lors de la création d'un certificat.
@Rovanion
Rovanion / noLicense.diff
Created September 22, 2012 19:58
Remove license check from Subsonic 4.7
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java b/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java
index f7031bf..39ee5b4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java
+++ b/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java
@@ -620,14 +620,11 @@ public class SettingsService {
}
public boolean isLicenseValid() {
- return isLicenseValid(getLicenseEmail(), getLicenseCode()) && licenseValidated;
+ return true;