@@ -114,13 +114,13 @@ discard block |
||
114 | 114 | |
115 | 115 | } |
116 | 116 | |
117 | - /** |
|
118 | - * Retrieve the version number of the plugin. |
|
119 | - * |
|
120 | - * @since 1.0.0 |
|
121 | - * @return string The version number of the plugin. |
|
122 | - */ |
|
123 | - /*public function get_version() { |
|
117 | + /** |
|
118 | + * Retrieve the version number of the plugin. |
|
119 | + * |
|
120 | + * @since 1.0.0 |
|
121 | + * @return string The version number of the plugin. |
|
122 | + */ |
|
123 | + /*public function get_version() { |
|
124 | 124 | return $this->version; |
125 | 125 | } |
126 | 126 | |
@@ -179,14 +179,14 @@ discard block |
||
179 | 179 | return $this->xcloner_encryption; |
180 | 180 | }*/ |
181 | 181 | |
182 | - public function __call($property, $args) { |
|
182 | + public function __call($property, $args) { |
|
183 | 183 | |
184 | - $property = str_replace("get_", "", $property); |
|
184 | + $property = str_replace("get_", "", $property); |
|
185 | 185 | |
186 | - if(property_exists($this, $property)){ |
|
187 | - return $this->$property; |
|
188 | - } |
|
189 | - } |
|
186 | + if(property_exists($this, $property)){ |
|
187 | + return $this->$property; |
|
188 | + } |
|
189 | + } |
|
190 | 190 | |
191 | 191 | public function check_dependencies() { |
192 | 192 | |
@@ -561,10 +561,10 @@ discard block |
||
561 | 561 | return (isset($levels[$type]) ? $levels[$type] : "Error #{$type}"); |
562 | 562 | } |
563 | 563 | |
564 | - /** |
|
565 | - * @method get_xcloner_settings() |
|
566 | - * @throws Exception |
|
567 | - */ |
|
564 | + /** |
|
565 | + * @method get_xcloner_settings() |
|
566 | + * @throws Exception |
|
567 | + */ |
|
568 | 568 | private function define_ajax_hooks() |
569 | 569 | { |
570 | 570 | //adding the pre-update hook |
@@ -631,9 +631,9 @@ discard block |
||
631 | 631 | settings_errors('xcloner_error_message'); |
632 | 632 | } |
633 | 633 | |
634 | - /** |
|
635 | - * @method get_xcloner_scheduler() |
|
636 | - */ |
|
634 | + /** |
|
635 | + * @method get_xcloner_scheduler() |
|
636 | + */ |
|
637 | 637 | public function define_cron_hooks() |
638 | 638 | { |
639 | 639 | //registering new schedule intervals |