diff --git a/printable.module b/printable.module
index 666ff69..9db7935 100755
--- a/printable.module
+++ b/printable.module
@@ -273,8 +273,6 @@ function printable_file_url_alter(&$uri) {
     // Using the filesystem path makes images work across all libraries but
     // won't work with paths that require Drupal foo. I'd prefer to use URLs
     // but that doesn't work with all libraries :(.
-    global $base_path;
-
     $scheme = \Drupal::service('file_system')->uriScheme($uri);
 
     // If the file uses the public scheme,
