com web/master: Removed odd noop function: manage/event.php
| From: | Hannes Magnusson | Date: | Mon, 30 Dec 2013 02:14:28 +0000 |
| Subject: | com web/master: Removed odd noop function: manage/event.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17894@lists.php.net to get a copy of this message | ||
Commit: e107ae8134f407bee50800ffc86e1141312607c5
Author: Hannes Magnusson <bjori@mongodb.com> Sun, 29 Dec 2013 18:14:28 -0800
Parents: 63b2541136325ea690f7c36063576503c7cd0a35
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=e107ae8134f407bee50800ffc86e1141312607c5
Log:
Removed odd noop function
Changed paths:
M manage/event.php
Diff:
diff --git a/manage/event.php b/manage/event.php
index 390c340..b4b423d 100644
--- a/manage/event.php
+++ b/manage/event.php
@@ -67,10 +67,6 @@ if ($id && $action) {
}
if ($id && $in) {
- if ($error = invalid_input($in)) {
- warn($error);
- }
- else {
$tipo = array_search($in['type'],$type);
if ($in['sday'] && $in['smonth'] && $in['syear'])
$sdato = "$in[syear]-$in[smonth]-$in[sday]";
@@ -94,7 +90,6 @@ if ($id && $in) {
warn("record $id updated");
unset($id);
- }
}
if ($id && !$in) {
@@ -301,10 +296,6 @@ while ($row = mysql_fetch_array($res,MYSQL_ASSOC)) {
show_prev_next($begin,mysql_num_rows($res),$max,$total,$extra);
foot();
-function invalid_input($in) {
- return false;
-}
-
function fetch_event($id) {
$query = "SELECT * FROM phpcal WHERE id=$id";