Skip to content

Commit

Permalink
Remove unused parameter from function html_page_bottom1a
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Sep 11, 2016
1 parent 8e3d937 commit eda6b6d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 13 deletions.
9 changes: 2 additions & 7 deletions core/html_api.php
Expand Up @@ -287,21 +287,16 @@ function html_page_bottom1( $p_file = null ) {
print_menu();
}

html_page_bottom1a( $p_file );
html_page_bottom1a();
}

/**
* Print the part of the page that comes below the page content but leave off
* the menu. This is used during the login process and other times when the
* user may not be authenticated.
* @param string $p_file Should always be the __FILE__ variable.
* @return void
*/
function html_page_bottom1a( $p_file = null ) {
if( null === $p_file ) {
$p_file = basename( $_SERVER['SCRIPT_NAME'] );
}

function html_page_bottom1a() {
error_print_delayed();

html_bottom_banner();
Expand Down
2 changes: 1 addition & 1 deletion login_page.php
Expand Up @@ -292,4 +292,4 @@ function debug_setting_message ( $p_type, $p_setting, $p_value ) {
echo '</div>';
}

html_page_bottom1a( __FILE__ );
html_page_bottom1a();
2 changes: 1 addition & 1 deletion lost_pwd.php
Expand Up @@ -128,4 +128,4 @@
</div>

<?php
html_page_bottom1a( __FILE__ );
html_page_bottom1a();
2 changes: 1 addition & 1 deletion lost_pwd_page.php
Expand Up @@ -101,4 +101,4 @@
</div>

<?php
html_page_bottom1a( __FILE__ );
html_page_bottom1a();
2 changes: 1 addition & 1 deletion signup.php
Expand Up @@ -116,4 +116,4 @@
</div>

<?php
html_page_bottom1a( __FILE__ );
html_page_bottom1a();
2 changes: 1 addition & 1 deletion signup_page.php
Expand Up @@ -151,4 +151,4 @@
</div>

<?php
html_page_bottom1a( __FILE__ );
html_page_bottom1a();
2 changes: 1 addition & 1 deletion verify.php
Expand Up @@ -146,4 +146,4 @@
<?php
}

html_page_bottom1a( __FILE__ );
html_page_bottom1a();

0 comments on commit eda6b6d

Please sign in to comment.