Skip to content

Commit bf060be

Browse files
committed
Remove unused s3_url
1 parent 84a1512 commit bf060be

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/S3/S3Controller.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,9 @@ public static function renderS3Page(): void {
6666
$view = [];
6767
$view['nonce_action'] = Controller::getHookName( 's3_save_options' );
6868
$view['uploads_path'] = \WP2Static\SiteInfo::getPath( 'uploads' );
69-
$s3_path = \WP2Static\SiteInfo::getPath( 'uploads' ) . 'wp2static-processed-site.s3';
7069

7170
$view['options'] = Options::getAll( S3Options::optionSpecs() );
7271

73-
$view['s3_url'] =
74-
is_file( $s3_path ) ?
75-
\WP2Static\SiteInfo::getUrl( 'uploads' ) . 'wp2static-processed-site.s3' : '#';
76-
7772
require_once __DIR__ . '/../../views/s3/s3-options-page.php';
7873
}
7974

0 commit comments

Comments
 (0)