Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidbhura committed Jan 9, 2020
2 parents bd788f8 + e7015de commit 36a97dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace JB\Cloudinary;

spl_autoload_register( __NAMESPACE__ . '\\autoload' );
add_action( 'init', __NAMESPACE__ . '\\bootstrap' );
bootstrap();

/**
* Autoloader.
Expand Down Expand Up @@ -44,7 +44,7 @@ function autoload( $class = '' ) {
function bootstrap() {
// Admin stuff.
add_action(
'admin_init',
'init',
function () {
Admin::get_instance()->setup();
}
Expand Down

0 comments on commit 36a97dc

Please sign in to comment.