Code Duplication    Length = 7-7 lines in 2 locations

class/setting.php 2 locations

@@ 253-259 (lines=7) @@
250
     *
251
     * @return bool|mixed
252
     */
253
    private function _loadCacheFile($name = null, $root_path = XOOPS_CACHE_PATH)
254
    {
255
        if (empty($name)) {
256
            return false;
257
        }
258
        $key = USERLOG_DIRNAME . "_{$name}";
259
260
        return XoopsCache::read($key);
261
    }
262
@@ 269-275 (lines=7) @@
266
     *
267
     * @return bool
268
     */
269
    private function _deleteCacheFile($name = null, $root_path = XOOPS_CACHE_PATH)
270
    {
271
        if (empty($name)) {
272
            return false;
273
        }
274
        $key = USERLOG_DIRNAME . "_{$name}";
275
276
        return XoopsCache::delete($key);
277
    }
278