Completed
Push — 23 ( 16ee8e...2cbb94 )
by Harald
08:19 queued 04:16
created
catalog/admin/includes/functions/database.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@  discard block
 block discarded – undo
32 32
     return mysqli_close($$link);
33 33
   }
34 34
 
35
+  /**
36
+   * @param integer $errno
37
+   * @param string $error
38
+   */
35 39
   function tep_db_error($query, $errno, $error) {
36 40
     global $logger;
37 41
 
@@ -55,6 +59,9 @@  discard block
 block discarded – undo
55 59
     return $result;
56 60
   }
57 61
 
62
+  /**
63
+   * @param string $table
64
+   */
58 65
   function tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') {
59 66
     reset($data);
60 67
     if ($action == 'insert') {
@@ -205,6 +212,9 @@  discard block
 block discarded – undo
205 212
       return mysql_error($link);
206 213
     }
207 214
 
215
+    /**
216
+     * @param string $charset
217
+     */
208 218
     function mysqli_set_charset($link, $charset) {
209 219
       if ( function_exists('mysql_set_charset') ) {
210 220
         return mysql_set_charset($charset, $link);
@@ -235,6 +245,9 @@  discard block
 block discarded – undo
235 245
       return mysql_error($link);
236 246
     }
237 247
 
248
+    /**
249
+     * @param integer $type
250
+     */
238 251
     function mysqli_fetch_array($query, $type) {
239 252
       return mysql_fetch_array($query, $type);
240 253
     }
Please login to merge, or discard this patch.
catalog/admin/includes/functions/sessions.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
     return session_start();
104 104
   }
105 105
 
106
+  /**
107
+   * @param string $variable
108
+   */
106 109
   function tep_session_register($variable) {
107 110
     if (PHP_VERSION < 4.3) {
108 111
       return session_register($variable);
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
     return false;
118 121
   }
119 122
 
123
+  /**
124
+   * @param string $variable
125
+   */
120 126
   function tep_session_is_registered($variable) {
121 127
     if (PHP_VERSION < 4.3) {
122 128
       return session_is_registered($variable);
@@ -125,6 +131,9 @@  discard block
 block discarded – undo
125 131
     }
126 132
   }
127 133
 
134
+  /**
135
+   * @param string $variable
136
+   */
128 137
   function tep_session_unregister($variable) {
129 138
     if (PHP_VERSION < 4.3) {
130 139
       return session_unregister($variable);
Please login to merge, or discard this patch.
catalog/includes/functions/database.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@  discard block
 block discarded – undo
34 34
     return mysqli_close($$link);
35 35
   }
36 36
 
37
+  /**
38
+   * @param integer $errno
39
+   * @param string $error
40
+   */
37 41
   function tep_db_error($query, $errno, $error) {
38 42
     if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) {
39 43
       error_log('ERROR: [' . $errno . '] ' . $error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG);
@@ -54,6 +58,9 @@  discard block
 block discarded – undo
54 58
     return $result;
55 59
   }
56 60
 
61
+  /**
62
+   * @param string $table
63
+   */
57 64
   function tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') {
58 65
     reset($data);
59 66
     if ($action == 'insert') {
@@ -193,6 +200,9 @@  discard block
 block discarded – undo
193 200
       return mysql_error($link);
194 201
     }
195 202
 
203
+    /**
204
+     * @param string $charset
205
+     */
196 206
     function mysqli_set_charset($link, $charset) {
197 207
       if ( function_exists('mysql_set_charset') ) {
198 208
         return mysql_set_charset($charset, $link);
@@ -223,6 +233,9 @@  discard block
 block discarded – undo
223 233
       return mysql_error($link);
224 234
     }
225 235
 
236
+    /**
237
+     * @param integer $type
238
+     */
226 239
     function mysqli_fetch_array($query, $type) {
227 240
       return mysql_fetch_array($query, $type);
228 241
     }
Please login to merge, or discard this patch.
catalog/includes/functions/sessions.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
     return session_start();
104 104
   }
105 105
 
106
+  /**
107
+   * @param string $variable
108
+   */
106 109
   function tep_session_register($variable) {
107 110
     global $session_started;
108 111
 
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
     return false;
122 125
   }
123 126
 
127
+  /**
128
+   * @param string $variable
129
+   */
124 130
   function tep_session_is_registered($variable) {
125 131
     if (PHP_VERSION < 4.3) {
126 132
       return session_is_registered($variable);
@@ -129,6 +135,9 @@  discard block
 block discarded – undo
129 135
     }
130 136
   }
131 137
 
138
+  /**
139
+   * @param string $variable
140
+   */
132 141
   function tep_session_unregister($variable) {
133 142
     if (PHP_VERSION < 4.3) {
134 143
       return session_unregister($variable);
Please login to merge, or discard this patch.