From 4b8131cf6b86a307e01c12051d7f2a554496437f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 8 Jan 2008 18:26:13 +0000 Subject: [PATCH] removed obsolete variable --- lam/templates/masscreate.php | 1 - lam/templates/tests/lamdaemonTest.php | 1 - 2 files changed, 2 deletions(-) diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php index 4e600dd4..98a5eafe 100644 --- a/lam/templates/masscreate.php +++ b/lam/templates/masscreate.php @@ -222,7 +222,6 @@ function showMainPage($scope) { echo "

 

\n"; // print table example and build sample CSV - $sampleCSV = ""; $sampleCSV_head = array(); $sampleCSV_row = array(); echo "" . _("This is an example how it would look in your spreadsheet program before you convert to CSV:") . "

\n"; diff --git a/lam/templates/tests/lamdaemonTest.php b/lam/templates/tests/lamdaemonTest.php index c56e14df..dc1b86b2 100644 --- a/lam/templates/tests/lamdaemonTest.php +++ b/lam/templates/tests/lamdaemonTest.php @@ -71,7 +71,6 @@ function lamTestLamdaemon($command, $stopTest, $handle, $testText) { echo "\n" . $testText . "  \n"; flush(); $lamdaemonOk = false; - $errorMessage = ""; $shell = ssh2_exec($handle, "sudo " . $_SESSION['config']->get_scriptPath()); $stderr = ssh2_fetch_stream($shell, SSH2_STREAM_STDERR); fwrite($shell, $command);