Skip to content

Commit

Permalink
Use namespaced functions
Browse files Browse the repository at this point in the history
  • Loading branch information
todeveni committed Jul 2, 2015
1 parent ada1a14 commit e8fe4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/class-backupwordpress-wp-cli-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ public function backup( $args, $assoc_args ) {
WP_CLI::line( __( 'Backup: Zipping everything up...', 'backupwordpress' ) );
} );

$hm_backup = new Backup();
$hm_backup = new HM\BackUpWordPress\Backup();

if ( ! empty( $assoc_args['destination'] ) ) {
Path::get_instance()->set_path( $assoc_args['destination'] );
}

Path::get_instance()->cleanup();
HM\BackUpWordPress\Path::get_instance()->cleanup();

if ( ! empty( $assoc_args['root'] ) ) {
$hm_backup->set_root( $assoc_args['root'] );
Expand Down

0 comments on commit e8fe4d3

Please sign in to comment.