@@ -51,8 +51,6 @@ public function edit() {
5151 require_once 'ownnote/lib/backend.php ' ;
5252 if (isset ($ _GET ["note " ]))
5353 return editNote ("Notes " , $ _GET ["note " ].".htm " );
54- elseif (isset ($ _POST ["note " ]))
55- return editNote ("Notes " , $ _POST ["note " ].".htm " );
5654 }
5755
5856 /**
@@ -64,8 +62,6 @@ public function del() {
6462 require_once 'ownnote/lib/backend.php ' ;
6563 if (isset ($ _GET ["note " ]))
6664 return deleteNote ("Notes " , $ _GET ["note " ].".htm " );
67- elseif (isset ($ _POST ["note " ]))
68- return deleteNote ("Notes " , $ _POST ["note " ].".htm " );
6965 }
7066
7167 /**
@@ -77,8 +73,6 @@ public function ren() {
7773 require_once 'ownnote/lib/backend.php ' ;
7874 if (isset ($ _GET ["note " ]) && isset ($ _GET ["newnote " ]))
7975 return renameNote ("Notes " , $ _GET ["note " ], $ _GET ["newnote " ]);
80- elseif (isset ($ _POST ["note " ]) && isset ($ _POST ["newnote " ]))
81- return renameNote ("Notes " , $ _POST ["note " ], $ _POST ["newnote " ]);
8276 }
8377
8478 /**
@@ -90,8 +84,6 @@ public function save() {
9084 require_once 'ownnote/lib/backend.php ' ;
9185 if (isset ($ _GET ["note " ]) && isset ($ _GET ["content " ]))
9286 return saveNote ("Notes " , $ _GET ["note " ], $ _GET ["content " ]);
93- elseif (isset ($ _POST ["note " ]) && isset ($ _POST ["content " ]))
94- return saveNote ("Notes " , $ _POST ["note " ], $ _POST ["content " ]);
9587 }
9688
9789 /**
@@ -103,8 +95,6 @@ public function create() {
10395 require_once 'ownnote/lib/backend.php ' ;
10496 if (isset ($ _GET ["note " ]))
10597 return createNote ("Notes " , $ _GET ["note " ]);
106- elseif (isset ($ _POST ["note " ]))
107- return createNote ("Notes " , $ _POST ["note " ]);
10898 }
10999
110100 /**
@@ -116,8 +106,6 @@ public function delgroup() {
116106 require_once 'ownnote/lib/backend.php ' ;
117107 if (isset ($ _GET ["group " ]))
118108 return deleteGroup ("Notes " , $ _GET ["group " ]);
119- if (isset ($ _POST ["group " ]))
120- return deleteGroup ("Notes " , $ _POST ["group " ]);
121109 }
122110
123111 /**
@@ -129,7 +117,5 @@ public function rengroup() {
129117 require_once 'ownnote/lib/backend.php ' ;
130118 if (isset ($ _GET ["group " ]) && isset ($ _GET ["newgroup " ]))
131119 return renameGroup ("Notes " , $ _GET ["group " ], $ _GET ["newgroup " ]);
132- elseif (isset ($ _POST ["group " ]) && isset ($ _POST ["newgroup " ]))
133- return renameGroup ("Notes " , $ _POST ["group " ], $ _POST ["newgroup " ]);
134120 }
135121}
0 commit comments