Changeset 847596
- Timestamp:
- 01/29/2014 11:11:47 AM (12 years ago)
- Location:
- autochmod
- Files:
-
- 2 edited
-
tags/0.5/autochmod.php (modified) (3 diffs)
-
trunk/autochmod.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
autochmod/tags/0.5/autochmod.php
r847590 r847596 63 63 public function delete_option_auto_updater_lock( $option ) { 64 64 $this->togli_permessi( ABSPATH ); 65 wp_unschedule_event( get_option( 'autochmod_safe_again_at'), 'rimuovi_permessi_scrittura' );65 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 66 66 delete_option( 'autochmod_safe_again_at' ); 67 67 update_option( 'autochmod_protection_active', true ); … … 187 187 case 'togli': 188 188 $this->togli_permessi( ABSPATH ); 189 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 189 190 delete_option( 'autochmod_safe_again_at' ); 190 191 update_option( 'autochmod_protection_active', true ); … … 199 200 case 'eterno': 200 201 $this->metti_permessi( ABSPATH ); 202 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 201 203 update_option( 'autochmod_safe_again_at', 0 ); 202 204 update_option( 'autochmod_protection_active', false ); -
autochmod/trunk/autochmod.php
r847590 r847596 63 63 public function delete_option_auto_updater_lock( $option ) { 64 64 $this->togli_permessi( ABSPATH ); 65 wp_unschedule_event( get_option( 'autochmod_safe_again_at'), 'rimuovi_permessi_scrittura' );65 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 66 66 delete_option( 'autochmod_safe_again_at' ); 67 67 update_option( 'autochmod_protection_active', true ); … … 187 187 case 'togli': 188 188 $this->togli_permessi( ABSPATH ); 189 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 189 190 delete_option( 'autochmod_safe_again_at' ); 190 191 update_option( 'autochmod_protection_active', true ); … … 199 200 case 'eterno': 200 201 $this->metti_permessi( ABSPATH ); 202 wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' ); 201 203 update_option( 'autochmod_safe_again_at', 0 ); 202 204 update_option( 'autochmod_protection_active', false );
Note: See TracChangeset
for help on using the changeset viewer.