Remove unused code

This commit is contained in:
bergware
2017-10-07 11:00:47 +02:00
parent 4012309726
commit db5a45146c
2 changed files with 3 additions and 25 deletions
@@ -1,21 +0,0 @@
<?PHP
/* Copyright 2005-2017, Lime Technology
* Copyright 2012-2017, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<?
$hide = '/var/tmp/hide_format_button.tmp';
$flag = file_exists($hide);
switch ($_POST['hide']) {
case 'yes': if (!$flag) touch($hide); break;
case 'no' : if ($flag) unlink($hide); break;
}
?>