Skip to content

Commit f64c0f9

Browse files
authored
chore: remove unused executePHPFunction (#1398)
1 parent db3e1a0 commit f64c0f9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

frankenphp.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -714,13 +714,6 @@ func freeArgs(argv []*C.char) {
714714
}
715715
}
716716

717-
func executePHPFunction(functionName string) bool {
718-
cFunctionName := C.CString(functionName)
719-
defer C.free(unsafe.Pointer(cFunctionName))
720-
721-
return C.frankenphp_execute_php_function(cFunctionName) == 1
722-
}
723-
724717
// Ensure that the request path does not contain null bytes
725718
func requestIsValid(r *http.Request, rw http.ResponseWriter) bool {
726719
if !strings.Contains(r.URL.Path, "\x00") {

0 commit comments

Comments
 (0)