Completed
Pull Request — developer (#4001)
by Thom
542:26 queued 508:45
created
libraries/HTTP_Session/Session/Container/MDB2.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -339,15 +339,15 @@
 block discarded – undo
339 339
         }
340 340
         if ($this->options['autooptimize']) {
341 341
             switch($this->db->phptype) {
342
-            case 'mysql':
343
-                $query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
-                break;
345
-            case 'pgsql':
346
-                $query = sprintf("VACUUM %s", $this->options['table']);
347
-                break;
348
-            default:
349
-                $query = null;
350
-                break;
342
+            	case 'mysql':
343
+                	$query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
+                	break;
345
+            	case 'pgsql':
346
+                	$query = sprintf("VACUUM %s", $this->options['table']);
347
+                	break;
348
+            	default:
349
+                	$query = null;
350
+                	break;
351 351
             }
352 352
             if (isset($query)) {
353 353
                 $result = $this->db->query($query);
Please login to merge, or discard this patch.
libraries/HTTP_Session/Session/Container/MDB.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -339,15 +339,15 @@
 block discarded – undo
339 339
         }
340 340
         if ($this->options['autooptimize']) {
341 341
             switch($this->db->phptype) {
342
-            case 'mysql':
343
-                $query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
-                break;
345
-            case 'pgsql':
346
-                $query = sprintf("VACUUM %s", $this->options['table']);
347
-                break;
348
-            default:
349
-                $query = null;
350
-                break;
342
+            	case 'mysql':
343
+                	$query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
+                	break;
345
+            	case 'pgsql':
346
+                	$query = sprintf("VACUUM %s", $this->options['table']);
347
+                	break;
348
+            	default:
349
+                	$query = null;
350
+                	break;
351 351
             }
352 352
             if (isset($query)) {
353 353
                 $result = $this->db->query($query);
Please login to merge, or discard this patch.
libraries/HTTP_Session/Session/Container/DB.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -339,15 +339,15 @@
 block discarded – undo
339 339
         }
340 340
         if ($this->options['autooptimize']) {
341 341
             switch($this->db->phptype) {
342
-            case 'mysql':
343
-                $query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
-                break;
345
-            case 'pgsql':
346
-                $query = sprintf("VACUUM %s", $this->options['table']);
347
-                break;
348
-            default:
349
-                $query = null;
350
-                break;
342
+            	case 'mysql':
343
+                	$query = sprintf("OPTIMIZE TABLE %s", $this->options['table']);
344
+                	break;
345
+            	case 'pgsql':
346
+                	$query = sprintf("VACUUM %s", $this->options['table']);
347
+                	break;
348
+            	default:
349
+                	$query = null;
350
+                	break;
351 351
             }
352 352
             if (isset($query)) {
353 353
                 $result = $this->db->query($query);
Please login to merge, or discard this patch.