From: Mikael Nordfeldth <mmn@hethane.se>
Date: Sun, 27 Dec 2015 23:00:04 +0000 (+0100)
Subject: background folder has never been used for GNU social
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=17a65ff873156a936baba6ad29640a7722ed2220;p=quix0rs-gnu-social.git

background folder has never been used for GNU social
---

diff --git a/.gitignore b/.gitignore
index 41084c45cd..102173e832 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
 avatar/*
-background/*
 files/*
 file/*
 local/*
diff --git a/lib/default.php b/lib/default.php
index 7894dbb674..5b504cea3f 100644
--- a/lib/default.php
+++ b/lib/default.php
@@ -140,11 +140,6 @@ $default =
               'path' => $_path . '/avatar/',
               'ssl' => null,
               'maxsize' => 300),
-        'background' =>
-        array('server' => null,
-              'dir' => INSTALLDIR . '/background/',
-              'path' => $_path . '/background/',
-              'ssl' => null),
         'public' =>
         array('localonly' => false,
               'blacklist' => array(),
diff --git a/lib/installer.php b/lib/installer.php
index 738eb80472..5e09c97329 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -133,7 +133,7 @@ abstract class Installer
         }
 
         // Check the subdirs used for file uploads
-        $fileSubdirs = array('avatar', 'background', 'file');
+        $fileSubdirs = array('avatar', 'file');
         foreach ($fileSubdirs as $fileSubdir) {
             $fileFullPath = INSTALLDIR."/$fileSubdir/";
             if (!is_writable($fileFullPath)) {