Completed
Push — master ( e5db64...945d9a )
by Schlaefer
05:09 queued 28s
created
app/Config/saito_config.php 1 patch
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -1,60 +1,60 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-  /**
4
-   * Saito Enduser Configuration
5
-   */
3
+    /**
4
+     * Saito Enduser Configuration
5
+     */
6 6
 
7
-  /**
8
-   * Setting default language (mandatory)
9
-   *
10
-   * Use ISO 639-2 Code http://www.loc.gov/standards/iso639-2/php/code_list.php
11
-   * So german would be: deu
12
-   */
13
-  Configure::write('Config.language', 'eng');
7
+    /**
8
+     * Setting default language (mandatory)
9
+     *
10
+     * Use ISO 639-2 Code http://www.loc.gov/standards/iso639-2/php/code_list.php
11
+     * So german would be: deu
12
+     */
13
+    Configure::write('Config.language', 'eng');
14 14
 
15
-	/**
16
-	 * Sets the markup parser
17
-	 *
18
-	 * Parser hould be placed in app/Plugin/<name>Parser
19
-	 */
20
-	Configure::write('Saito.Settings.ParserPlugin', 'Bbcode');
15
+    /**
16
+     * Sets the markup parser
17
+     *
18
+     * Parser hould be placed in app/Plugin/<name>Parser
19
+     */
20
+    Configure::write('Saito.Settings.ParserPlugin', 'Bbcode');
21 21
 
22
-  /**
23
-   * Sets the default theme
24
-   */
25
-  Configure::write('Saito.themes.default', 'Paz');
22
+    /**
23
+     * Sets the default theme
24
+     */
25
+    Configure::write('Saito.themes.default', 'Paz');
26 26
 
27
-	/**
28
-	 * Sets additional themes available for all users
29
-	 *
30
-	 * `*` - all installed themes (in Themed folder)
31
-	 * `['A', 'B']` - only themes 'A' and 'B' (Themed folder names)
32
-	 */
33
-	// Configure::write('Saito.themes.available.all', '*');
27
+    /**
28
+     * Sets additional themes available for all users
29
+     *
30
+     * `*` - all installed themes (in Themed folder)
31
+     * `['A', 'B']` - only themes 'A' and 'B' (Themed folder names)
32
+     */
33
+    // Configure::write('Saito.themes.available.all', '*');
34 34
 
35
-	/**
36
-	 * Sets additional themes available for specific users only
37
-	 *
38
-	 * [<user-id> => '<theme name>', …]
39
-	 */
40
-	 // Configure::write('Saito.themes.available.users', [1 => ['C']]);
35
+    /**
36
+     * Sets additional themes available for specific users only
37
+     *
38
+     * [<user-id> => '<theme name>', …]
39
+     */
40
+        // Configure::write('Saito.themes.available.users', [1 => ['C']]);
41 41
 
42
-	/**
43
-	 * Sets the X-Frame-Options header send with each request
44
-	 */
45
-	Configure::write('Saito.X-Frame-Options', 'SAMEORIGIN');
42
+    /**
43
+     * Sets the X-Frame-Options header send with each request
44
+     */
45
+    Configure::write('Saito.X-Frame-Options', 'SAMEORIGIN');
46 46
 
47
-  /**
48
-   * Add additional buttons to editor
49
-	 *
50
-	 * You can theme them with
51
-	 *
52
-	 * <code>
53
-	 * 	.markItUp .markItUpButton<Id> a {
54
-	 * 		…
55
-	 *	}
56
-	 * </code>
57
-   *
47
+    /**
48
+     * Add additional buttons to editor
49
+     *
50
+     * You can theme them with
51
+     *
52
+     * <code>
53
+     * 	.markItUp .markItUpButton<Id> a {
54
+     * 		…
55
+     *	}
56
+     * </code>
57
+     *
58 58
   /*
59 59
   Configure::write(
60 60
       'Saito.markItUp.additionalButtons',
@@ -75,23 +75,23 @@  discard block
 block discarded – undo
75 75
             // image in img/markitup/<replacement>
76 76
             'replacement' => 'resultofbutton1.png'
77 77
           ),
78
-  * 			// …
78
+     * 			// …
79 79
         )
80 80
       );
81
-  *
82
-  */
81
+     *
82
+     */
83 83
 
84
-  /**
85
-   * Users to notify via email if a new users registers successfully
86
-	 *
87
-	 * Provide an array with user IDs. To notify the admin (usually user-id 1):
88
-	 *
89
-	 *     [1]
90
-	 *
91
-	 * To notify the admin with id 1 and the user with the id 5:
92
-	 *
93
-	 *     [1, 5]
94
-   */
95
-  /*
84
+    /**
85
+     * Users to notify via email if a new users registers successfully
86
+     *
87
+     * Provide an array with user IDs. To notify the admin (usually user-id 1):
88
+     *
89
+     *     [1]
90
+     *
91
+     * To notify the admin with id 1 and the user with the id 5:
92
+     *
93
+     *     [1, 5]
94
+     */
95
+    /*
96 96
   Configure::write('Saito.Notification.userActivatedAdminNoticeToUserWithID', [1]);
97 97
    */
Please login to merge, or discard this patch.
app/Config/core.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
  * In production mode, flash messages redirect after a time interval.
34 34
  * In development mode, you need to click the flash message to continue.
35 35
  */
36
-	Configure::write('debug', 0);
36
+    Configure::write('debug', 0);
37 37
 
38 38
 /**
39 39
  * Configure the Error handler used to handle errors for your application. By default
@@ -50,11 +50,11 @@  discard block
 block discarded – undo
50 50
  *
51 51
  * @see ErrorHandler for more information on error handling and configuration.
52 52
  */
53
-	Configure::write('Error', array(
54
-		'handler' => 'ErrorHandler::handleError',
55
-		'level' => E_ALL & ~E_DEPRECATED,
56
-		'trace' => true
57
-	));
53
+    Configure::write('Error', array(
54
+        'handler' => 'ErrorHandler::handleError',
55
+        'level' => E_ALL & ~E_DEPRECATED,
56
+        'trace' => true
57
+    ));
58 58
 
59 59
 /**
60 60
  * Configure the Exception handler used for uncaught exceptions. By default,
@@ -76,16 +76,16 @@  discard block
 block discarded – undo
76 76
  *
77 77
  * @see ErrorHandler for more information on exception handling and configuration.
78 78
  */
79
-	Configure::write('Exception', array(
80
-		'handler' => 'ErrorHandler::handleException',
81
-		'renderer' => 'ExceptionRenderer',
82
-		'log' => true
83
-	));
79
+    Configure::write('Exception', array(
80
+        'handler' => 'ErrorHandler::handleException',
81
+        'renderer' => 'ExceptionRenderer',
82
+        'log' => true
83
+    ));
84 84
 
85 85
 /**
86 86
  * Application wide charset encoding
87 87
  */
88
-	Configure::write('App.encoding', 'UTF-8');
88
+    Configure::write('App.encoding', 'UTF-8');
89 89
 
90 90
 /**
91 91
  * To configure CakePHP *not* to use mod_rewrite and to
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
  * included primarily as a development convenience - and
107 107
  * thus not recommended for production applications.
108 108
  */
109
-	//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
109
+    //Configure::write('App.baseUrl', env('SCRIPT_NAME'));
110 110
 
111 111
 /**
112 112
  * To configure CakePHP to use a particular domain URL
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
  * will override the automatic detection of full base URL and can be
116 116
  * useful when generating links from the CLI (e.g. sending emails)
117 117
  */
118
-	//Configure::write('App.fullBaseURL', 'http://example.com');
118
+    //Configure::write('App.fullBaseURL', 'http://example.com');
119 119
 
120 120
 /**
121 121
  * Uncomment the define below to use CakePHP prefix routes.
@@ -133,12 +133,12 @@  discard block
 block discarded – undo
133 133
  *	`manager_index()` and `/manager/controller/index`
134 134
  *
135 135
  */
136
-	Configure::write('Routing.prefixes', array('admin'));
136
+    Configure::write('Routing.prefixes', array('admin'));
137 137
 /**
138
- * Turn off all caching application-wide.
139
- *
140
- */
141
-	//Configure::write('Cache.disable', true);
138
+     * Turn off all caching application-wide.
139
+     *
140
+     */
141
+    //Configure::write('Cache.disable', true);
142 142
 
143 143
 /**
144 144
  * Enable cache checking.
@@ -149,13 +149,13 @@  discard block
 block discarded – undo
149 149
  * or in each action using $this->cacheAction = true.
150 150
  *
151 151
  */
152
-	//Configure::write('Cache.check', true);
152
+    //Configure::write('Cache.check', true);
153 153
 
154 154
 /**
155 155
  * Defines the default error type when using the log() function. Used for
156 156
  * differentiating error logging and debugging. Currently PHP supports LOG_DEBUG.
157 157
  */
158
-	define('LOG_ERROR', LOG_ERR);
158
+    define('LOG_ERROR', LOG_ERR);
159 159
 
160 160
 /**
161 161
  * Session configuration.
@@ -194,20 +194,20 @@  discard block
 block discarded – undo
194 194
  * the cake shell command: cake schema create Sessions
195 195
  *
196 196
  */
197
-	Configure::write('Session', array(
198
-		'defaults' => 'php',
199
-		'cookie' => 'Saito',
200
-	));
197
+    Configure::write('Session', array(
198
+        'defaults' => 'php',
199
+        'cookie' => 'Saito',
200
+    ));
201 201
 
202 202
 /**
203 203
  * A random string used in security hashing methods.
204 204
  */
205
-	Configure::write('Security.salt', 'shouldBeAtLeast22CharsLongNoUnderscores');
205
+    Configure::write('Security.salt', 'shouldBeAtLeast22CharsLongNoUnderscores');
206 206
 
207 207
 /**
208 208
  * A random numeric string (digits only) used to encrypt/decrypt strings.
209 209
  */
210
-	Configure::write('Security.cipherSeed', '0123456789');
210
+    Configure::write('Security.cipherSeed', '0123456789');
211 211
 
212 212
 /**
213 213
  * Apply timestamps with the last modified time to static assets (js, css, images).
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
  * Set to `true` to apply timestamps when debug > 0. Set to 'force' to always enable
218 218
  * timestamping regardless of debug value.
219 219
  */
220
-	Configure::write('Asset.timestamp', 'force');
220
+    Configure::write('Asset.timestamp', 'force');
221 221
 
222 222
 /**
223 223
  * Compress CSS output by removing comments, whitespace, repeating tags, etc.
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  *
227 227
  * To use, prefix the CSS link URL with '/ccss/' instead of '/css/' or use HtmlHelper::css().
228 228
  */
229
-	//Configure::write('Asset.filter.css', 'css.php');
229
+    //Configure::write('Asset.filter.css', 'css.php');
230 230
 
231 231
 /**
232 232
  * Plug in your own custom JavaScript compressor by dropping a script in your webroot to handle the
@@ -234,20 +234,20 @@  discard block
 block discarded – undo
234 234
  *
235 235
  * To use, prefix your JavaScript link URLs with '/cjs/' instead of '/js/' or use JavaScriptHelper::link().
236 236
  */
237
-	//Configure::write('Asset.filter.js', 'custom_javascript_output_filter.php');
237
+    //Configure::write('Asset.filter.js', 'custom_javascript_output_filter.php');
238 238
 
239 239
 /**
240 240
  * The class name and database used in CakePHP's
241 241
  * access control lists.
242 242
  */
243
-	Configure::write('Acl.classname', 'DbAcl');
244
-	Configure::write('Acl.database', 'default');
243
+    Configure::write('Acl.classname', 'DbAcl');
244
+    Configure::write('Acl.database', 'default');
245 245
 
246 246
 /**
247 247
  * Uncomment this line and correct your server timezone to fix
248 248
  * any date & time related errors.
249 249
  */
250
-	date_default_timezone_set('UTC');
250
+    date_default_timezone_set('UTC');
251 251
 
252 252
 /**
253 253
  *
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 // In development mode, caches should expire quickly.
326 326
 $duration = '+999 days';
327 327
 if (Configure::read('debug') > 0) {
328
-	$duration = '+10 seconds';
328
+    $duration = '+10 seconds';
329 329
 }
330 330
 
331 331
 // Prefix each application on the same server with a different string, to avoid Memcache and APC conflicts.
@@ -336,11 +336,11 @@  discard block
 block discarded – undo
336 336
  * object listings, and translation cache files are stored with this configuration.
337 337
  */
338 338
 Cache::config('_cake_core_', array(
339
-	'engine' => $engine,
340
-	'prefix' => $prefix . 'cake_core_',
341
-	'path' => CACHE . 'persistent' . DS,
342
-	'serialize' => ($engine === 'File'),
343
-	'duration' => $duration
339
+    'engine' => $engine,
340
+    'prefix' => $prefix . 'cake_core_',
341
+    'path' => CACHE . 'persistent' . DS,
342
+    'serialize' => ($engine === 'File'),
343
+    'duration' => $duration
344 344
 ));
345 345
 
346 346
 /**
@@ -348,9 +348,9 @@  discard block
 block discarded – undo
348 348
  * is used to store schema descriptions, and table listings in connections.
349 349
  */
350 350
 Cache::config('_cake_model_', array(
351
-	'engine' => $engine,
352
-	'prefix' => $prefix . 'cake_model_',
353
-	'path' => CACHE . 'models' . DS,
354
-	'serialize' => ($engine === 'File'),
355
-	'duration' => $duration
351
+    'engine' => $engine,
352
+    'prefix' => $prefix . 'cake_model_',
353
+    'path' => CACHE . 'models' . DS,
354
+    'serialize' => ($engine === 'File'),
355
+    'duration' => $duration
356 356
 ));
Please login to merge, or discard this patch.
app/Config/bootstrap.php 2 patches
Indentation   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -33,43 +33,43 @@  discard block
 block discarded – undo
33 33
 
34 34
 
35 35
 if (!isset($engine)) {
36
-	$engine = 'File';
37
-	$prefix = 'saito_';
36
+    $engine = 'File';
37
+    $prefix = 'saito_';
38 38
 }
39 39
 
40 40
 // Setup a 'default' cache configuration for use in the application.
41 41
 Cache::config(
42
-	'default',
43
-	[
44
-		'engine' => $engine,
45
-		'prefix'	 => $prefix
46
-	]
42
+    'default',
43
+    [
44
+        'engine' => $engine,
45
+        'prefix'	 => $prefix
46
+    ]
47 47
 );
48 48
 
49 49
 /**
50 50
  * Long term cache for performance cheating
51 51
  */
52 52
 Cache::config(
53
-	'entries',
54
-	[
55
-		'engine'   => $engine,
56
-		'prefix'	 => $prefix,
57
-		'groups'	 => ['entries'],
58
-		'duration' => 3600
59
-	]
53
+    'entries',
54
+    [
55
+        'engine'   => $engine,
56
+        'prefix'	 => $prefix,
57
+        'groups'	 => ['entries'],
58
+        'duration' => 3600
59
+    ]
60 60
 );
61 61
 
62 62
 /**
63 63
  * Short term cache for performance cheating
64 64
  */
65 65
 Cache::config(
66
-	'short',
67
-	[
68
-		'engine'   => $engine,
69
-		'prefix'	 => $prefix,
70
-		'groups'	 => ['short'],
71
-		'duration' => 180
72
-	]
66
+    'short',
67
+    [
68
+        'engine'   => $engine,
69
+        'prefix'	 => $prefix,
70
+        'groups'	 => ['short'],
71
+        'duration' => 180
72
+    ]
73 73
 );
74 74
 
75 75
 /**
@@ -107,13 +107,13 @@  discard block
 block discarded – undo
107 107
  *
108 108
  */
109 109
 
110
-	/**
111
-	 * Cake doesn't handle Smiley <-> Smilies
112
-	 */
110
+    /**
111
+     * Cake doesn't handle Smiley <-> Smilies
112
+     */
113 113
 Inflector::rules('plural', array(
114
-								'/^(smil)ey$/i' => '\1ies'));
114
+                                '/^(smil)ey$/i' => '\1ies'));
115 115
 Inflector::rules('singular', array(
116
-								'/^(smil)ies$/i' => '\1ey'));
116
+                                '/^(smil)ies$/i' => '\1ey'));
117 117
 
118 118
 /**
119 119
  * Plugins need to be loaded manually, you can either load them one by one or all of them in a single call
@@ -126,11 +126,11 @@  discard block
 block discarded – undo
126 126
  */
127 127
 
128 128
 CakePlugin::loadAll(
129
-	[
130
-		'Api' => ['bootstrap' => true, 'routes' => true],
131
-		'M' => ['bootstrap' => true, 'routes' => true],
132
-		'SaitoHelp' => ['routes' => true],
133
-	]
129
+    [
130
+        'Api' => ['bootstrap' => true, 'routes' => true],
131
+        'M' => ['bootstrap' => true, 'routes' => true],
132
+        'SaitoHelp' => ['routes' => true],
133
+    ]
134 134
 );
135 135
 
136 136
 /**
@@ -150,8 +150,8 @@  discard block
 block discarded – undo
150 150
  * ));
151 151
  */
152 152
 Configure::write('Dispatcher.filters', array(
153
-	'AssetDispatcher',
154
-	'Stopwatch.StopwatchFilter',
153
+    'AssetDispatcher',
154
+    'Stopwatch.StopwatchFilter',
155 155
 ));
156 156
 
157 157
 /**
@@ -159,35 +159,35 @@  discard block
 block discarded – undo
159 159
  */
160 160
 App::uses('CakeLog', 'Log');
161 161
 CakeLog::config('debug', array(
162
-	'engine' => 'FileLog',
163
-	'types' => array('notice', 'info', 'debug'),
164
-	'file' => 'debug',
162
+    'engine' => 'FileLog',
163
+    'types' => array('notice', 'info', 'debug'),
164
+    'file' => 'debug',
165 165
 ));
166 166
 CakeLog::config('error', array(
167
-	'engine' => 'FileLog',
168
-	'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
169
-	'file' => 'error',
167
+    'engine' => 'FileLog',
168
+    'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
169
+    'file' => 'error',
170 170
 ));
171 171
 CakeLog::config('saito-error', array(
172
-	'engine' => 'FileLog',
173
-	'size' => '1MB',
174
-	'rotate' => '4',
175
-	'types' => ['saito.error'],
176
-	'file' => 'saito-error'
172
+    'engine' => 'FileLog',
173
+    'size' => '1MB',
174
+    'rotate' => '4',
175
+    'types' => ['saito.error'],
176
+    'file' => 'saito-error'
177 177
 ));
178 178
 CakeLog::config('saito', array(
179
-		'engine' => 'FileLog',
180
-		'size' => '1MB',
181
-		'rotate' => '4',
182
-		'types' => ['saito.info'],
183
-		'file' => 'saito-info'
179
+        'engine' => 'FileLog',
180
+        'size' => '1MB',
181
+        'rotate' => '4',
182
+        'types' => ['saito.info'],
183
+        'file' => 'saito-info'
184 184
 ));
185 185
 CakeLog::config('auth', array(
186
-		'engine' => 'FileLog',
187
-		'size' => '1MB',
188
-		'rotate' => '4',
189
-		'types' => ['saito.forbidden'],
190
-		'file' => 'saito-auth'
186
+        'engine' => 'FileLog',
187
+        'size' => '1MB',
188
+        'rotate' => '4',
189
+        'types' => ['saito.forbidden'],
190
+        'file' => 'saito-auth'
191 191
 ));
192 192
 
193 193
 include 'version.php';
@@ -207,13 +207,13 @@  discard block
 block discarded – undo
207 207
  */
208 208
 Configure::write('Saito.Globals.postingsPerThread', 10);
209 209
 
210
-	/**
211
- * Check if the forum is installed
212
- */
210
+    /**
211
+     * Check if the forum is installed
212
+     */
213 213
 if ( file_exists(APP . 'Config' . DS . 'installed.txt') ) :
214
-	Configure::write('Saito.installed', TRUE);
214
+    Configure::write('Saito.installed', TRUE);
215 215
 else :
216
-	Configure::write('Saito.installed', FALSE);
216
+    Configure::write('Saito.installed', FALSE);
217 217
 endif;
218 218
 
219 219
 /**
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,8 +212,10 @@
 block discarded – undo
212 212
  */
213 213
 if ( file_exists(APP . 'Config' . DS . 'installed.txt') ) :
214 214
 	Configure::write('Saito.installed', TRUE);
215
-else :
215
+else {
216
+    :
216 217
 	Configure::write('Saito.installed', FALSE);
218
+}
217 219
 endif;
218 220
 
219 221
 /**
Please login to merge, or discard this patch.
app/Config/acl.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
  * to the roles you defined in the roles configuration.
106 106
  */
107 107
 $config['map'] = array(
108
-	'User' => 'User/username',
109
-	'Role' => 'User/group_id',
108
+    'User' => 'User/username',
109
+    'Role' => 'User/group_id',
110 110
 );
111 111
 
112 112
 /**
@@ -114,22 +114,22 @@  discard block
 block discarded – undo
114 114
  * the roles defined in your role configuration.
115 115
  */
116 116
 $config['alias'] = array(
117
-	'Role/4' => 'Role/editor',
117
+    'Role/4' => 'Role/editor',
118 118
 );
119 119
 
120 120
 /**
121 121
  * role configuration
122 122
  */
123 123
 $config['roles'] = array(
124
-	'Role/admin' => null,
124
+    'Role/admin' => null,
125 125
 );
126 126
 
127 127
 /**
128 128
  * rule configuration
129 129
  */
130 130
 $config['rules'] = array(
131
-	'allow' => array(
132
-		'*' => 'Role/admin',
133
-	),
134
-	'deny' => array(),
131
+    'allow' => array(
132
+        '*' => 'Role/admin',
133
+    ),
134
+    'deny' => array(),
135 135
 );
Please login to merge, or discard this patch.
app/Config/Schema/db_acl.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -29,46 +29,46 @@
 block discarded – undo
29 29
  */
30 30
 class DbAclSchema extends CakeSchema {
31 31
 
32
-	public $name = 'DbAcl';
32
+    public $name = 'DbAcl';
33 33
 
34
-	public function before($event = array()) {
35
-		return true;
36
-	}
34
+    public function before($event = array()) {
35
+        return true;
36
+    }
37 37
 
38
-	public function after($event = array()) {
39
-	}
38
+    public function after($event = array()) {
39
+    }
40 40
 
41
-	public $acos = array(
42
-			'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
43
-			'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
44
-			'model' => array('type'=>'string', 'null' => true),
45
-			'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
46
-			'alias' => array('type'=>'string', 'null' => true),
47
-			'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
48
-			'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
49
-			'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
50
-		);
41
+    public $acos = array(
42
+            'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
43
+            'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
44
+            'model' => array('type'=>'string', 'null' => true),
45
+            'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
46
+            'alias' => array('type'=>'string', 'null' => true),
47
+            'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
48
+            'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
49
+            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
50
+        );
51 51
 
52
-	public $aros = array(
53
-			'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
54
-			'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
55
-			'model' => array('type'=>'string', 'null' => true),
56
-			'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
57
-			'alias' => array('type'=>'string', 'null' => true),
58
-			'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
59
-			'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
60
-			'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
61
-		);
52
+    public $aros = array(
53
+            'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
54
+            'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
55
+            'model' => array('type'=>'string', 'null' => true),
56
+            'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
57
+            'alias' => array('type'=>'string', 'null' => true),
58
+            'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
59
+            'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
60
+            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
61
+        );
62 62
 
63
-	public $aros_acos = array(
64
-			'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
65
-			'aro_id' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
66
-			'aco_id' => array('type'=>'integer', 'null' => false, 'length' => 10),
67
-			'_create' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
68
-			'_read' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
69
-			'_update' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
70
-			'_delete' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
71
-			'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1))
72
-		);
63
+    public $aros_acos = array(
64
+            'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
65
+            'aro_id' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
66
+            'aco_id' => array('type'=>'integer', 'null' => false, 'length' => 10),
67
+            '_create' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
68
+            '_read' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
69
+            '_update' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
70
+            '_delete' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
71
+            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1))
72
+        );
73 73
 
74 74
 }
Please login to merge, or discard this patch.
app/Config/Schema/sessions.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -29,20 +29,20 @@
 block discarded – undo
29 29
  */
30 30
 class SessionsSchema extends CakeSchema {
31 31
 
32
-	public $name = 'Sessions';
32
+    public $name = 'Sessions';
33 33
 
34
-	public function before($event = array()) {
35
-		return true;
36
-	}
34
+    public function before($event = array()) {
35
+        return true;
36
+    }
37 37
 
38
-	public function after($event = array()) {
39
-	}
38
+    public function after($event = array()) {
39
+    }
40 40
 
41
-	public $cake_sessions = array(
42
-			'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'),
43
-			'data' => array('type'=>'text', 'null' => true, 'default' => NULL),
44
-			'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL),
45
-			'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
46
-		);
41
+    public $cake_sessions = array(
42
+            'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'),
43
+            'data' => array('type'=>'text', 'null' => true, 'default' => NULL),
44
+            'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL),
45
+            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
46
+        );
47 47
 
48 48
 }
Please login to merge, or discard this patch.
app/Config/Schema/schema.php 1 patch
Indentation   +250 added lines, -250 removed lines patch added patch discarded remove patch
@@ -2,269 +2,269 @@
 block discarded – undo
2 2
 
3 3
 class AppSchema extends CakeSchema {
4 4
 
5
-	public $bookmarks = array(
6
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
7
-		'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
8
-		'entry_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
9
-		'comment' => array('type' => 'string', 'null' => false, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
10
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
11
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
12
-		'indexes' => array(
13
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
14
-			'bookmarks_entryId_userId' => array('column' => array('entry_id', 'user_id'), 'unique' => 0),
15
-			'bookmarks_userId' => array('column' => 'user_id', 'unique' => 0)
16
-		),
17
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
18
-	);
5
+    public $bookmarks = array(
6
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
7
+        'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
8
+        'entry_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
9
+        'comment' => array('type' => 'string', 'null' => false, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
10
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
11
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
12
+        'indexes' => array(
13
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
14
+            'bookmarks_entryId_userId' => array('column' => array('entry_id', 'user_id'), 'unique' => 0),
15
+            'bookmarks_userId' => array('column' => 'user_id', 'unique' => 0)
16
+        ),
17
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
18
+    );
19 19
 
20
-	public $categories = array(
21
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
22
-		'category_order' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
23
-		'category' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
24
-		'description' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
25
-		'accession' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'unsigned' => false),
26
-		'thread_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
27
-		'indexes' => array(
28
-			'PRIMARY' => array('column' => 'id', 'unique' => 1)
29
-		),
30
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
31
-	);
20
+    public $categories = array(
21
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
22
+        'category_order' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
23
+        'category' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
24
+        'description' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
25
+        'accession' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'unsigned' => false),
26
+        'thread_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
27
+        'indexes' => array(
28
+            'PRIMARY' => array('column' => 'id', 'unique' => 1)
29
+        ),
30
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
31
+    );
32 32
 
33
-	public $entries = array(
34
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
35
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
36
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
37
-		'pid' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
38
-		'tid' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
39
-		'time' => array('type' => 'timestamp', 'null' => true, 'default' => null, 'key' => 'index'),
40
-		'last_answer' => array('type' => 'timestamp', 'null' => true, 'default' => null, 'key' => 'index'),
41
-		'edited' => array('type' => 'timestamp', 'null' => true, 'default' => null),
42
-		'edited_by' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
43
-		'user_id' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
44
-		'name' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
45
-		'subject' => array('type' => 'string', 'null' => true, 'default' => null, 'key' => 'index', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
46
-		'category_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
47
-		'text' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
48
-		'email_notify' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
49
-		'locked' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
50
-		'fixed' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
51
-		'views' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false),
52
-		'ip' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 39, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
53
-		'solves' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
54
-		'indexes' => array(
55
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
56
-			'tid' => array('column' => 'tid', 'unique' => 0),
57
-			'entries_userId' => array('column' => 'user_id', 'unique' => 0),
58
-			'last_answer' => array('column' => 'last_answer', 'unique' => 0),
59
-			'pft' => array('column' => array('pid', 'fixed', 'time', 'category_id'), 'unique' => 0),
60
-			'pfl' => array('column' => array('pid', 'fixed', 'last_answer', 'category_id'), 'unique' => 0),
61
-			'pid_category' => array('column' => array('pid', 'category_id'), 'unique' => 0),
62
-			'entries_userId_time' => array('column' => array('time', 'user_id'), 'unique' => 0),
63
-			'fulltext_search' => array('column' => array('subject', 'name', 'text'), 'type' => 'fulltext')
64
-		),
65
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
66
-	);
33
+    public $entries = array(
34
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
35
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
36
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
37
+        'pid' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
38
+        'tid' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
39
+        'time' => array('type' => 'timestamp', 'null' => true, 'default' => null, 'key' => 'index'),
40
+        'last_answer' => array('type' => 'timestamp', 'null' => true, 'default' => null, 'key' => 'index'),
41
+        'edited' => array('type' => 'timestamp', 'null' => true, 'default' => null),
42
+        'edited_by' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
43
+        'user_id' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false, 'key' => 'index'),
44
+        'name' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
45
+        'subject' => array('type' => 'string', 'null' => true, 'default' => null, 'key' => 'index', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
46
+        'category_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
47
+        'text' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
48
+        'email_notify' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
49
+        'locked' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
50
+        'fixed' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 4, 'unsigned' => false),
51
+        'views' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false),
52
+        'ip' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 39, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
53
+        'solves' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
54
+        'indexes' => array(
55
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
56
+            'tid' => array('column' => 'tid', 'unique' => 0),
57
+            'entries_userId' => array('column' => 'user_id', 'unique' => 0),
58
+            'last_answer' => array('column' => 'last_answer', 'unique' => 0),
59
+            'pft' => array('column' => array('pid', 'fixed', 'time', 'category_id'), 'unique' => 0),
60
+            'pfl' => array('column' => array('pid', 'fixed', 'last_answer', 'category_id'), 'unique' => 0),
61
+            'pid_category' => array('column' => array('pid', 'category_id'), 'unique' => 0),
62
+            'entries_userId_time' => array('column' => array('time', 'user_id'), 'unique' => 0),
63
+            'fulltext_search' => array('column' => array('subject', 'name', 'text'), 'type' => 'fulltext')
64
+        ),
65
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
66
+    );
67 67
 
68
-	public $esevents = array(
69
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
70
-		'subject' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
71
-		'event' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
72
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
73
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
74
-		'indexes' => array(
75
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
76
-			'subject_event' => array('column' => array('subject', 'event'), 'unique' => 0)
77
-		),
78
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
79
-	);
68
+    public $esevents = array(
69
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
70
+        'subject' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
71
+        'event' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
72
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
73
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
74
+        'indexes' => array(
75
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
76
+            'subject_event' => array('column' => array('subject', 'event'), 'unique' => 0)
77
+        ),
78
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
79
+    );
80 80
 
81
-	public $esnotifications = array(
82
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
83
-		'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
84
-		'esevent_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
85
-		'esreceiver_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
86
-		'deactivate' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 8, 'unsigned' => false),
87
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
88
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
89
-		'indexes' => array(
90
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
91
-			'userid_esreceiverid' => array('column' => array('user_id', 'esreceiver_id'), 'unique' => 0),
92
-			'eseventid_esreceiverid_userid' => array('column' => array('esevent_id', 'esreceiver_id', 'user_id'), 'unique' => 0)
93
-		),
94
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
95
-	);
81
+    public $esnotifications = array(
82
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
83
+        'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
84
+        'esevent_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
85
+        'esreceiver_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
86
+        'deactivate' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 8, 'unsigned' => false),
87
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
88
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
89
+        'indexes' => array(
90
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
91
+            'userid_esreceiverid' => array('column' => array('user_id', 'esreceiver_id'), 'unique' => 0),
92
+            'eseventid_esreceiverid_userid' => array('column' => array('esevent_id', 'esreceiver_id', 'user_id'), 'unique' => 0)
93
+        ),
94
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
95
+    );
96 96
 
97
-	public $settings = array(
98
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
99
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8', 'key' => 'primary'),
100
-		'value' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
101
-		'indexes' => array(
102
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
103
-		),
104
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
105
-	);
97
+    public $settings = array(
98
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
99
+        'name' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8', 'key' => 'primary'),
100
+        'value' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
101
+        'indexes' => array(
102
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
103
+        ),
104
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
105
+    );
106 106
 
107
-	public $shouts = array(
108
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
109
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
110
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
111
-		'text' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
112
-		'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
113
-		'time' => array('type' => 'timestamp', 'null' => true, 'default' => null),
114
-		'indexes' => array(
115
-			'PRIMARY' => array('column' => 'id', 'unique' => 1)
116
-		),
117
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'MEMORY')
118
-	);
107
+    public $shouts = array(
108
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
109
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
110
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
111
+        'text' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
112
+        'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false),
113
+        'time' => array('type' => 'timestamp', 'null' => true, 'default' => null),
114
+        'indexes' => array(
115
+            'PRIMARY' => array('column' => 'id', 'unique' => 1)
116
+        ),
117
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'MEMORY')
118
+    );
119 119
 
120
-	public $smiley_codes = array(
121
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
122
-		'smiley_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
123
-		'code' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 32, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
124
-		'indexes' => array(
125
-			'PRIMARY' => array('column' => 'id', 'unique' => 1)
126
-		),
127
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
128
-	);
120
+    public $smiley_codes = array(
121
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
122
+        'smiley_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
123
+        'code' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 32, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
124
+        'indexes' => array(
125
+            'PRIMARY' => array('column' => 'id', 'unique' => 1)
126
+        ),
127
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
128
+    );
129 129
 
130
-	public $smilies = array(
131
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
132
-		'sort' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'unsigned' => false),
133
-		'icon' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
134
-		'image' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
135
-		'title' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
136
-		'indexes' => array(
137
-			'PRIMARY' => array('column' => 'id', 'unique' => 1)
138
-		),
139
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
140
-	);
130
+    public $smilies = array(
131
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
132
+        'sort' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'unsigned' => false),
133
+        'icon' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
134
+        'image' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
135
+        'title' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
136
+        'indexes' => array(
137
+            'PRIMARY' => array('column' => 'id', 'unique' => 1)
138
+        ),
139
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
140
+    );
141 141
 
142
-	public $uploads = array(
143
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
144
-		'name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
145
-		'type' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
146
-		'size' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
147
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
148
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
149
-		'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
150
-		'indexes' => array(
151
-			'PRIMARY' => array('column' => 'id', 'unique' => 1)
152
-		),
153
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
154
-	);
142
+    public $uploads = array(
143
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
144
+        'name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
145
+        'type' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
146
+        'size' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
147
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
148
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
149
+        'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
150
+        'indexes' => array(
151
+            'PRIMARY' => array('column' => 'id', 'unique' => 1)
152
+        ),
153
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
154
+    );
155 155
 
156
-	public $user_blocks = array(
157
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
158
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
159
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
160
-		'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'index'),
161
-		'reason' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
162
-		'blocked_by_user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => true),
163
-		'ends' => array('type' => 'datetime', 'null' => true, 'default' => null, 'key' => 'index'),
164
-		'ended' => array('type' => 'datetime', 'null' => true, 'default' => null),
165
-		'hash' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 32, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
166
-		'indexes' => array(
167
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
168
-			'ends' => array('column' => 'ends', 'unique' => 0),
169
-			'user_id' => array('column' => 'user_id', 'unique' => 0)
170
-		),
171
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
172
-	);
156
+    public $user_blocks = array(
157
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
158
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
159
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
160
+        'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'index'),
161
+        'reason' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
162
+        'blocked_by_user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => true),
163
+        'ends' => array('type' => 'datetime', 'null' => true, 'default' => null, 'key' => 'index'),
164
+        'ended' => array('type' => 'datetime', 'null' => true, 'default' => null),
165
+        'hash' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 32, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
166
+        'indexes' => array(
167
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
168
+            'ends' => array('column' => 'ends', 'unique' => 0),
169
+            'user_id' => array('column' => 'user_id', 'unique' => 0)
170
+        ),
171
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
172
+    );
173 173
 
174
-	public $user_ignores = array(
175
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
176
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
177
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
178
-		'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
179
-		'blocked_user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
180
-		'timestamp' => array('type' => 'datetime', 'null' => true, 'default' => null),
181
-		'indexes' => array(
182
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
183
-			'userignores_user_id' => array('column' => 'user_id', 'unique' => 0),
184
-			'blocked_user_id' => array('column' => 'blocked_user_id', 'unique' => 0)
185
-		),
186
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
187
-	);
174
+    public $user_ignores = array(
175
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
176
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
177
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
178
+        'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
179
+        'blocked_user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
180
+        'timestamp' => array('type' => 'datetime', 'null' => true, 'default' => null),
181
+        'indexes' => array(
182
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
183
+            'userignores_user_id' => array('column' => 'user_id', 'unique' => 0),
184
+            'blocked_user_id' => array('column' => 'blocked_user_id', 'unique' => 0)
185
+        ),
186
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
187
+    );
188 188
 
189
-	public $user_reads = array(
190
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
191
-		'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
192
-		'entry_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
193
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
194
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
195
-		'indexes' => array(
196
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
197
-			'userread_user_id' => array('column' => 'user_id', 'unique' => 0),
198
-			'userread_entry_id' => array('column' => 'entry_id', 'unique' => 0)
199
-		),
200
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
201
-	);
189
+    public $user_reads = array(
190
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
191
+        'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
192
+        'entry_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'index'),
193
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
194
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
195
+        'indexes' => array(
196
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
197
+            'userread_user_id' => array('column' => 'user_id', 'unique' => 0),
198
+            'userread_entry_id' => array('column' => 'entry_id', 'unique' => 0)
199
+        ),
200
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
201
+    );
202 202
 
203
-	public $useronline = array(
204
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
205
-		'uuid' => array('type' => 'string', 'null' => false, 'length' => 32, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
206
-		'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
207
-		'logged_in' => array('type' => 'boolean', 'null' => false, 'default' => null, 'key' => 'index'),
208
-		'time' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 14, 'unsigned' => false),
209
-		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
210
-		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
211
-		'indexes' => array(
212
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
213
-			'useronline_uuid' => array('column' => 'uuid', 'unique' => 1),
214
-			'useronline_userId' => array('column' => 'user_id', 'unique' => 0),
215
-			'useronline_loggedIn' => array('column' => 'logged_in', 'unique' => 0)
216
-		),
217
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MEMORY')
218
-	);
203
+    public $useronline = array(
204
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
205
+        'uuid' => array('type' => 'string', 'null' => false, 'length' => 32, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
206
+        'user_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
207
+        'logged_in' => array('type' => 'boolean', 'null' => false, 'default' => null, 'key' => 'index'),
208
+        'time' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 14, 'unsigned' => false),
209
+        'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
210
+        'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
211
+        'indexes' => array(
212
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
213
+            'useronline_uuid' => array('column' => 'uuid', 'unique' => 1),
214
+            'useronline_userId' => array('column' => 'user_id', 'unique' => 0),
215
+            'useronline_loggedIn' => array('column' => 'logged_in', 'unique' => 0)
216
+        ),
217
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MEMORY')
218
+    );
219 219
 
220
-	public $users = array(
221
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
222
-		'user_type' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
223
-		'username' => array('type' => 'string', 'null' => true, 'default' => null, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
224
-		'user_real_name' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
225
-		'password' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
226
-		'user_email' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
227
-		'user_hp' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
228
-		'user_place' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
229
-		'user_place_lat' => array('type' => 'float', 'null' => true, 'default' => null, 'unsigned' => false),
230
-		'user_place_lng' => array('type' => 'float', 'null' => true, 'default' => null, 'unsigned' => false),
231
-		'user_place_zoom' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 4, 'unsigned' => false),
232
-		'signature' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
233
-		'profile' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
234
-		'entry_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
235
-		'logins' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
236
-		'last_login' => array('type' => 'timestamp', 'null' => true, 'default' => null),
237
-		'registered' => array('type' => 'timestamp', 'null' => true, 'default' => null),
238
-		'last_refresh' => array('type' => 'datetime', 'null' => true, 'default' => null),
239
-		'last_refresh_tmp' => array('type' => 'datetime', 'null' => true, 'default' => null),
240
-		'personal_messages' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
241
-		'user_lock' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
242
-		'activate_code' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 7, 'unsigned' => false),
243
-		'user_signatures_hide' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
244
-		'user_signatures_images_hide' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
245
-		'user_forum_refresh_time' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false),
246
-		'user_automaticaly_mark_as_read' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
247
-		'user_sort_last_answer' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
248
-		'user_color_new_postings' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
249
-		'user_color_actual_posting' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
250
-		'user_color_old_postings' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
251
-		'user_theme' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
252
-		'slidetab_order' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 512, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
253
-		'show_userlist' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'comment' => 'stores if userlist is shown in front layout'),
254
-		'show_recentposts' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
255
-		'show_recententries' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
256
-		'show_shoutbox' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
257
-		'inline_view_on_click' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
258
-		'user_show_thread_collapsed' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
259
-		'user_category_override' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
260
-		'user_category_active' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
261
-		'user_category_custom' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 512, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
262
-		'ignore_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'unsigned' => true),
263
-		'indexes' => array(
264
-			'PRIMARY' => array('column' => 'id', 'unique' => 1),
265
-			'username' => array('column' => 'username', 'unique' => 1)
266
-		),
267
-		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'InnoDB')
268
-	);
220
+    public $users = array(
221
+        'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
222
+        'user_type' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
223
+        'username' => array('type' => 'string', 'null' => true, 'default' => null, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
224
+        'user_real_name' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
225
+        'password' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
226
+        'user_email' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
227
+        'user_hp' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
228
+        'user_place' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
229
+        'user_place_lat' => array('type' => 'float', 'null' => true, 'default' => null, 'unsigned' => false),
230
+        'user_place_lng' => array('type' => 'float', 'null' => true, 'default' => null, 'unsigned' => false),
231
+        'user_place_zoom' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 4, 'unsigned' => false),
232
+        'signature' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
233
+        'profile' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
234
+        'entry_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
235
+        'logins' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
236
+        'last_login' => array('type' => 'timestamp', 'null' => true, 'default' => null),
237
+        'registered' => array('type' => 'timestamp', 'null' => true, 'default' => null),
238
+        'last_refresh' => array('type' => 'datetime', 'null' => true, 'default' => null),
239
+        'last_refresh_tmp' => array('type' => 'datetime', 'null' => true, 'default' => null),
240
+        'personal_messages' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
241
+        'user_lock' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
242
+        'activate_code' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 7, 'unsigned' => false),
243
+        'user_signatures_hide' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
244
+        'user_signatures_images_hide' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
245
+        'user_forum_refresh_time' => array('type' => 'integer', 'null' => true, 'default' => '0', 'unsigned' => false),
246
+        'user_automaticaly_mark_as_read' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
247
+        'user_sort_last_answer' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
248
+        'user_color_new_postings' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
249
+        'user_color_actual_posting' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
250
+        'user_color_old_postings' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
251
+        'user_theme' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
252
+        'slidetab_order' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 512, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
253
+        'show_userlist' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'comment' => 'stores if userlist is shown in front layout'),
254
+        'show_recentposts' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
255
+        'show_recententries' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
256
+        'show_shoutbox' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
257
+        'inline_view_on_click' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
258
+        'user_show_thread_collapsed' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
259
+        'user_category_override' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
260
+        'user_category_active' => array('type' => 'integer', 'null' => false, 'default' => '0', 'unsigned' => false),
261
+        'user_category_custom' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 512, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
262
+        'ignore_count' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'unsigned' => true),
263
+        'indexes' => array(
264
+            'PRIMARY' => array('column' => 'id', 'unique' => 1),
265
+            'username' => array('column' => 'username', 'unique' => 1)
266
+        ),
267
+        'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'InnoDB')
268
+    );
269 269
 
270 270
 }
Please login to merge, or discard this patch.
app/Config/Schema/i18n.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -29,23 +29,23 @@
 block discarded – undo
29 29
  */
30 30
 class i18nSchema extends CakeSchema {
31 31
 
32
-	public $name = 'i18n';
32
+    public $name = 'i18n';
33 33
 
34
-	public function before($event = array()) {
35
-		return true;
36
-	}
34
+    public function before($event = array()) {
35
+        return true;
36
+    }
37 37
 
38
-	public function after($event = array()) {
39
-	}
38
+    public function after($event = array()) {
39
+    }
40 40
 
41
-	public $i18n = array(
42
-			'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
43
-			'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'),
44
-			'model' => array('type'=>'string', 'null' => false, 'key' => 'index'),
45
-			'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
46
-			'field' => array('type'=>'string', 'null' => false, 'key' => 'index'),
47
-			'content' => array('type'=>'text', 'null' => true, 'default' => NULL),
48
-			'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0))
49
-		);
41
+    public $i18n = array(
42
+            'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
43
+            'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'),
44
+            'model' => array('type'=>'string', 'null' => false, 'key' => 'index'),
45
+            'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
46
+            'field' => array('type'=>'string', 'null' => false, 'key' => 'index'),
47
+            'content' => array('type'=>'text', 'null' => true, 'default' => NULL),
48
+            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0))
49
+        );
50 50
 
51 51
 }
Please login to merge, or discard this patch.
app/webroot/index.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  * Use the DS to separate the directories in other defines
21 21
  */
22 22
 if (!defined('DS')) {
23
-	define('DS', DIRECTORY_SEPARATOR);
23
+    define('DS', DIRECTORY_SEPARATOR);
24 24
 }
25 25
 
26 26
 /**
@@ -33,21 +33,21 @@  discard block
 block discarded – undo
33 33
  * The full path to the directory which holds "app", WITHOUT a trailing DS.
34 34
  */
35 35
 if (!defined('ROOT')) {
36
-	define('ROOT', dirname(dirname(dirname(__FILE__))));
36
+    define('ROOT', dirname(dirname(dirname(__FILE__))));
37 37
 }
38 38
 
39 39
 /**
40 40
  * The actual directory name for the "app".
41 41
  */
42 42
 if (!defined('APP_DIR')) {
43
-	define('APP_DIR', basename(dirname(dirname(__FILE__))));
43
+    define('APP_DIR', basename(dirname(dirname(__FILE__))));
44 44
 }
45 45
 
46 46
 /**
47 47
  * Config Directory
48 48
  */
49 49
 if (!defined('CONFIG')) {
50
-	define('CONFIG', ROOT . DS . APP_DIR . DS . 'Config' . DS);
50
+    define('CONFIG', ROOT . DS . APP_DIR . DS . 'Config' . DS);
51 51
 }
52 52
 
53 53
 /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 $vendorPath = ROOT . DS . APP_DIR . DS . 'Vendor' . DS . 'cakephp' . DS . 'cakephp' . DS . 'lib';
74 74
 $dispatcher = 'Cake' . DS . 'Console' . DS . 'ShellDispatcher.php';
75 75
 if (!defined('CAKE_CORE_INCLUDE_PATH') && file_exists($vendorPath . DS . $dispatcher)) {
76
-	define('CAKE_CORE_INCLUDE_PATH', $vendorPath);
76
+    define('CAKE_CORE_INCLUDE_PATH', $vendorPath);
77 77
 }
78 78
 
79 79
 /**
@@ -81,38 +81,38 @@  discard block
 block discarded – undo
81 81
  * Change at your own risk.
82 82
  */
83 83
 if (!defined('WEBROOT_DIR')) {
84
-	define('WEBROOT_DIR', basename(dirname(__FILE__)));
84
+    define('WEBROOT_DIR', basename(dirname(__FILE__)));
85 85
 }
86 86
 if (!defined('WWW_ROOT')) {
87
-	define('WWW_ROOT', dirname(__FILE__) . DS);
87
+    define('WWW_ROOT', dirname(__FILE__) . DS);
88 88
 }
89 89
 
90 90
 // For the built-in server
91 91
 if (PHP_SAPI === 'cli-server') {
92
-	if ($_SERVER['PHP_SELF'] !== '/' . basename(__FILE__) && file_exists(WWW_ROOT . $_SERVER['PHP_SELF'])) {
93
-		return false;
94
-	}
95
-	$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
92
+    if ($_SERVER['PHP_SELF'] !== '/' . basename(__FILE__) && file_exists(WWW_ROOT . $_SERVER['PHP_SELF'])) {
93
+        return false;
94
+    }
95
+    $_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
96 96
 }
97 97
 
98 98
 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
99
-	if (function_exists('ini_set')) {
100
-		ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
101
-	}
102
-	if (!include 'Cake' . DS . 'bootstrap.php') {
103
-		$failed = true;
104
-	}
99
+    if (function_exists('ini_set')) {
100
+        ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
101
+    }
102
+    if (!include 'Cake' . DS . 'bootstrap.php') {
103
+        $failed = true;
104
+    }
105 105
 } elseif (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
106
-	$failed = true;
106
+    $failed = true;
107 107
 }
108 108
 if (!empty($failed)) {
109
-	trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
109
+    trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
110 110
 }
111 111
 
112 112
 App::uses('Dispatcher', 'Routing');
113 113
 
114 114
 $Dispatcher = new Dispatcher();
115 115
 $Dispatcher->dispatch(
116
-	new CakeRequest(),
117
-	new CakeResponse()
116
+    new CakeRequest(),
117
+    new CakeResponse()
118 118
 );
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
  * Config Directory
48 48
  */
49 49
 if (!defined('CONFIG')) {
50
-	define('CONFIG', ROOT . DS . APP_DIR . DS . 'Config' . DS);
50
+	define('CONFIG', ROOT.DS.APP_DIR.DS.'Config'.DS);
51 51
 }
52 52
 
53 53
 /**
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
  * This auto-detects CakePHP as a composer installed library.
71 71
  * You may remove this if you are not planning to use composer (not recommended, though).
72 72
  */
73
-$vendorPath = ROOT . DS . APP_DIR . DS . 'Vendor' . DS . 'cakephp' . DS . 'cakephp' . DS . 'lib';
74
-$dispatcher = 'Cake' . DS . 'Console' . DS . 'ShellDispatcher.php';
75
-if (!defined('CAKE_CORE_INCLUDE_PATH') && file_exists($vendorPath . DS . $dispatcher)) {
73
+$vendorPath = ROOT.DS.APP_DIR.DS.'Vendor'.DS.'cakephp'.DS.'cakephp'.DS.'lib';
74
+$dispatcher = 'Cake'.DS.'Console'.DS.'ShellDispatcher.php';
75
+if (!defined('CAKE_CORE_INCLUDE_PATH') && file_exists($vendorPath.DS.$dispatcher)) {
76 76
 	define('CAKE_CORE_INCLUDE_PATH', $vendorPath);
77 77
 }
78 78
 
@@ -84,29 +84,29 @@  discard block
 block discarded – undo
84 84
 	define('WEBROOT_DIR', basename(dirname(__FILE__)));
85 85
 }
86 86
 if (!defined('WWW_ROOT')) {
87
-	define('WWW_ROOT', dirname(__FILE__) . DS);
87
+	define('WWW_ROOT', dirname(__FILE__).DS);
88 88
 }
89 89
 
90 90
 // For the built-in server
91 91
 if (PHP_SAPI === 'cli-server') {
92
-	if ($_SERVER['PHP_SELF'] !== '/' . basename(__FILE__) && file_exists(WWW_ROOT . $_SERVER['PHP_SELF'])) {
92
+	if ($_SERVER['PHP_SELF'] !== '/'.basename(__FILE__) && file_exists(WWW_ROOT.$_SERVER['PHP_SELF'])) {
93 93
 		return false;
94 94
 	}
95
-	$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
95
+	$_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
96 96
 }
97 97
 
98 98
 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
99 99
 	if (function_exists('ini_set')) {
100
-		ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
100
+		ini_set('include_path', ROOT.DS.'lib'.PATH_SEPARATOR.ini_get('include_path'));
101 101
 	}
102
-	if (!include 'Cake' . DS . 'bootstrap.php') {
102
+	if (!include 'Cake'.DS.'bootstrap.php') {
103 103
 		$failed = true;
104 104
 	}
105
-} elseif (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
105
+} elseif (!include CAKE_CORE_INCLUDE_PATH.DS.'Cake'.DS.'bootstrap.php') {
106 106
 	$failed = true;
107 107
 }
108 108
 if (!empty($failed)) {
109
-	trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
109
+	trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your ".DS."cake core directory and your ".DS."vendors root directory.", E_USER_ERROR);
110 110
 }
111 111
 
112 112
 App::uses('Dispatcher', 'Routing');
Please login to merge, or discard this patch.