Completed
Pull Request — release-2.1 (#3778)
by Martyn
07:41
created
Sources/CacheAPI-sqlite.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 	}
39 39
 
40 40
 	/**
41
-		* {@inheritDoc}
42
-		*/
41
+	 * {@inheritDoc}
42
+	 */
43 43
 	public function connect() 
44 44
 	{
45 45
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
    */
116 116
   public function cacheSettings(array &$config_vars)
117 117
   {
118
-    global $context, $txt;
118
+	global $context, $txt;
119 119
 
120 120
 		$config_vars[] = $txt['cache_sqlite_settings'];
121 121
 		$config_vars[] = array('cachedir_sqlite', $txt['cachedir_sqlite'], 'file', 'text', 36, 'cache_sqlite_cachedir');
@@ -139,13 +139,13 @@  discard block
 block discarded – undo
139 139
    */
140 140
   public function setCachedir($dir = null)
141 141
   {
142
-    global $cachedir_sqlite;
142
+	global $cachedir_sqlite;
143 143
 
144
-    // If its invalid, use SMF's.
145
-    if (is_null($dir) || !is_writable($dir))
146
-      $this->cachedir = $cachedir_sqlite;
147
-    else
148
-      $this->cachedir = $dir;
144
+	// If its invalid, use SMF's.
145
+	if (is_null($dir) || !is_writable($dir))
146
+	  $this->cachedir = $cachedir_sqlite;
147
+	else
148
+	  $this->cachedir = $dir;
149 149
   }
150 150
 
151 151
 }
Please login to merge, or discard this patch.