backupbuddy_backup/wp-content/plugins/backupbuddy/classes/backup.php
/*	post_remote_delete()
	 *	
	 *	Deletes backup archive. Used to delete the backup after sending to a remote destination for scheduled backups.
	 *	
	 *	@return		boolean		True on deletion success; else false.
	 */


Deletes backup archive. Used to delete the backup after sending to a remote destination for scheduled backups.

@return         boolean         True on deletion success; else false.
Deletes backup archive . Used to delete the backup after sending to a remote destination for scheduled backups . @return boolean True on deletion success ; else false .
function post_remote_delete() {
		pb_backupbuddy::status( 'error', 'CALL TO DEPRECATED FUNCTION post_remote_delete().' );
		pb_backupbuddy::status( 'details', 'Deleting local copy of file sent remote.' );
		if ( file_exists( $this->_backup['archive_file'] ) ) {
			unlink( $this->_backup['archive_file'] );
		}
		if ( file_exists( $this->_backup['archive_file'] ) ) {
			pb_backupbuddy::status( 'details', __('Error. Unable to delete local archive as requested.', 'it-l10n-backupbuddy' ) );
			return false; 
		} else {
			pb_backupbuddy::status( 'details', __('Deleted local archive as requested.', 'it-l10n-backupbuddy' ) );
			return true; 
		}
	}
function post_remote_delete ( ) { pb_backupbuddy :: status ( 'error' , 'CALL TO DEPRECATED FUNCTION post_remote_delete().' ) ; pb_backupbuddy :: status ( 'details' , 'Deleting local copy of file sent remote.' ) ; if ( file_exists ( $ this -> _backup [ 'archive_file' ] ) ) { unlink ( $ this -> _backup [ 'archive_file' ] ) ; } if ( file_exists ( $ this -> _backup [ 'archive_file' ] ) ) { pb_backupbuddy :: status ( 'details' , __ ( 'Error. Unable to delete local archive as requested.' , 'it-l10n-backupbuddy' ) ) ; return false ; } else { pb_backupbuddy :: status ( 'details' , __ ( 'Deleted local archive as requested.' , 'it-l10n-backupbuddy' ) ) ; return true ; } }
post_remote_delete()
post_remote_delete ()
// DEPRECATED FUNCTION. DO NOT USE. // Didnt delete. // Deleted.