| @@ -144,10 +144,10 @@ | ||
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * @since 3.06 |
| 147 | 147 | * |
| 148 | - * @param object $license_plugin The FrmAddon object | |
| 149 | - * @param array $addons | |
| 148 | + * @param object $license_plugin The FrmAddon object. | |
| 149 | + * @param array $addons | |
| 150 | 150 | * |
| 151 | 151 | * @return array |
| 152 | 152 | */ |
| 153 | 153 | public function get_addon_for_license( $license_plugin, $addons = array() ) { |
| @@ -192,9 +192,10 @@ | ||
| 192 | 192 | |
| 193 | 193 | FrmAppHelper::filter_gmt_offset(); |
| 194 | 194 | |
| 195 | 195 | if ( empty( $cache ) || empty( $cache['timeout'] ) || current_time( 'timestamp' ) > $cache['timeout'] ) { |
| 196 | - return false; // Cache is expired | |
| 196 | + // Cache is expired. | |
| 197 | + return false; | |
| 197 | 198 | } |
| 198 | 199 | |
| 199 | 200 | $version = FrmAppHelper::plugin_version(); |
| 200 | 201 | $for_current = isset( $cache['version'] ) && $cache['version'] == $version; |