Author: Ben Ramsey (ramsey)
Date: 2025-07-05T22:41:54-05:00
Commit: Remove unused sidebar variable · php/web-php@fa23b73 · GitHub
Raw diff: https://github.com/php/web-php/commit/fa23b73fe61c1aa5acae0863a758e6a50cebc74c.diff
Remove unused sidebar variable
Changed paths:
M copyright.php
M elephpant.php
Diff:
diff --git a/copyright.php b/copyright.php
index d942c4f9c1..57233ded2c 100644
--- a/copyright.php
+++ b/copyright.php
@@ -1,14 +1,6 @@
<?php
$_SERVER['BASE_PAGE'] = 'copyright.php';
include_once __DIR__ . '/include/prepend.inc';
-$SIDEBAR_DATA = '
-<a id="license"></a>
-<h3>PHP License</h3>
-<p>
- For information on the PHP License (i.e. using the PHP language),
- <a href="/license/">see our licensing information page</a>.
-</p>
-';
site_header("Copyright", ["current" => "footer"]);
?>
diff --git a/elephpant.php b/elephpant.php
index 6b8aca09cf..cab6dcf0c4 100644
--- a/elephpant.php
+++ b/elephpant.php
@@ -1,14 +1,6 @@
<?php
$_SERVER['BASE_PAGE'] = 'elephpant.php';
include_once __DIR__ . '/include/prepend.inc';
-$SIDEBAR_DATA = '
-<a id="license"></a>
-<h3>PHP License</h3>
-<p>
- For information on the PHP License (i.e. using the PHP language),
- <a href="/license/">see our licensing information page</a>.
-</p>
-';
site_header("ElePHPant", ["current" => "footer"]);
?>