summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/apache-httpd/owncloud.nix
diff options
context:
space:
mode:
authorvolth2018-07-20 17:56:59 +0000
committervolth2018-07-20 18:48:37 +0000
commit87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch)
treed76aa79bc394e820305c4eebbd250c89f6992eb9 /nixos/modules/services/web-servers/apache-httpd/owncloud.nix
parenta7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff)
[bot]: remove unreferenced code
Diffstat (limited to 'nixos/modules/services/web-servers/apache-httpd/owncloud.nix')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/owncloud.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/owncloud.nix b/nixos/modules/services/web-servers/apache-httpd/owncloud.nix
index 82b8bf3e30db..6345a9a56935 100644
--- a/nixos/modules/services/web-servers/apache-httpd/owncloud.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/owncloud.nix
@@ -4,17 +4,6 @@ with lib;
 
 let
 
-  httpd = serverInfo.serverConfig.package;
-
-  version24 = !versionOlder httpd.version "2.4";
-
-  allGranted = if version24 then ''
-    Require all granted
-  '' else ''
-    Order allow,deny
-    Allow from all
-  '';
-
   owncloudConfig = pkgs.writeText "config.php"
     ''
       <?php