Skip to content

Commit

Permalink
Fix update class
Browse files Browse the repository at this point in the history
  • Loading branch information
makhonkodenis committed Jun 15, 2015
1 parent dc686da commit fb348f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class for the base update
*
* @package Cherry_Base_Update
* @subpackage Bace_Update
* @subpackage Base_Update
* @author Cherry Team <[email protected]>
* @copyright Copyright (c) 2012 - 2015, Cherry Team
* @link http://www.cherryframework.com/
Expand Down Expand Up @@ -36,7 +36,7 @@ class Cherry_Base_Update {
'sslverify' => true
);

protected function bace_init( $attr = array() ){
protected function base_init( $attr = array() ){
$this ->api = array_merge( $this ->api, $attr );

add_filter( 'upgrader_source_selection', array( $this, 'rename_github_folder' ), 11, 3 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Cherry_Plugin_Update extends Cherry_Base_Update {

public function init( $attr = array() ){
if( @constant ( 'CHERRY_UPDATE' ) !== false ){
$this -> bace_init( $attr );
$this -> base_init( $attr );

//Need for test update
//set_site_transient('update_plugins', null);
Expand Down

0 comments on commit fb348f8

Please sign in to comment.