Server IP : 104.21.14.103 / Your IP : 3.147.55.35 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/classes/entities/ |
Upload File : |
<?php /** * Global System Enity * * Standard: Missing * * @package DUP_PRO * @subpackage classes/entities * @copyright (c) 2017, Snapcreek LLC * @license https://opensource.org/licenses/GPL-3.0 GNU Public License * @since 3.0.0 * * @todo Finish Docs */ defined('ABSPATH') || defined('DUPXABSPATH') || exit; require_once(DUPLICATOR_PRO_PLUGIN_PATH . '/classes/entities/class.json.entity.base.php'); class DUP_PRO_Profile_Logs_Entity extends DUP_PRO_JSON_Entity_Base { public $profileLogs; public static function clear() { $instance = self::get_instance(); if($instance == null) { $instance = new DUP_PRO_Profile_Logs_Entity(); } $instance->profileLogs = array(); $instance->save(); return $instance; } public static function get_instance() { $instance = null; $profileLogObjects = DUP_PRO_JSON_Entity_Base::get_by_type(get_class()); if (count($profileLogObjects) > 0) { $instance = $profileLogObjects[0]; } return $instance; } }