Skip to content

Commit 6e3f1c0

Browse files
committed
fix the autoloader
1 parent cd19abd commit 6e3f1c0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

s3-uploads.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,9 @@ function s3_uploads_autoload($class)
9898
'S3_Uploads_WP_CLI_Command' => __DIR__ . '/inc/class-s3-uploads-wp-cli-command.php',
9999
'S3_Uploads' => __DIR__ . '/inc/class-s3-uploads.php',
100100
);
101-
101+
102102
if (isset($mapping[$class])) {
103-
if (isset($mapping[$class])) {
104-
include $mapping[$class];
105-
}
103+
include $mapping[$class];
106104
}
107105
}
108106

0 commit comments

Comments
 (0)