Skip to content

Commit

Permalink
Hotfix: fixed a php error with php 5.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Screenfeed committed Nov 8, 2017
1 parent 7577f59 commit b9ff2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/3rd-party/wp-real-media-library.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function imagify_wprml_init() {
* @author Grégory Viguier
*/
function imagify_wprml_dequeue() {
$instance = MatthiasWeb\RealMediaLibrary\general\Backend::getInstance();
$instance = call_user_func( array( 'MatthiasWeb\RealMediaLibrary\general\Backend', 'getInstance' ) );

remove_action( 'admin_enqueue_scripts', array( $instance, 'admin_enqueue_scripts' ), 0 );
remove_action( 'admin_footer', array( $instance, 'admin_footer' ) );
Expand Down

0 comments on commit b9ff2c8

Please sign in to comment.