PluginProbe
WANotifier for Forms and Actions / 2.7.5
WANotifier for Forms and Actions v2.7.5
3.1.1 3.1.0 3.0.4 2.7.10 2.7.11 2.7.12 2.7.13 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 3.0.0 3.0.1 3.0.2 3.0.3 trunk 0.1.0 0.1.1 1.0.0 1.0.1 1.0.2 All 67 releases
notifier / libraries / action-scheduler / deprecated / ActionScheduler_Store_Deprecated.php

ActionScheduler_Store_Deprecated.php in WANotifier for Forms and Actions 2.7.5, at libraries/action-scheduler/deprecated/ActionScheduler_Store_Deprecated.php

50 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_Store_Deprecated
5 * @codeCoverageIgnore
6 */
7 abstract class ActionScheduler_Store_Deprecated {
8
9 /**
10 * Mark an action that failed to fetch correctly as failed.
11 *
12 * @since 2.2.6
13 *
14 * @param int $action_id The ID of the action.
15 */
16 public function mark_failed_fetch_action( $action_id ) {
17 _deprecated_function( __METHOD__, '3.0.0', 'ActionScheduler_Store::mark_failure()' );
18 self::$store->mark_failure( $action_id );
19 }
20
21 /**
22 * Add base hooks
23 *
24 * @since 2.2.6
25 */
26 protected static function hook() {
27 _deprecated_function( __METHOD__, '3.0.0' );
28 }
29
30 /**
31 * Remove base hooks
32 *
33 * @since 2.2.6
34 */
35 protected static function unhook() {
36 _deprecated_function( __METHOD__, '3.0.0' );
37 }
38
39 /**
40 * Get the site's local time.
41 *
42 * @deprecated 2.1.0
43 * @return DateTimeZone
44 */
45 protected function get_local_timezone() {
46 _deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' );
47 return ActionScheduler_TimezoneHelper::get_local_timezone();
48 }
49 }
50