summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
diff options
context:
space:
mode:
authorAlex Dowad <alexinbeijing@gmail.com>2020-04-27 10:26:51 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-04-27 14:51:33 +0200
commitaf67b06995619ecadce4180fbeb49e851c8ec999 (patch)
tree033fae82d912f01fd9046e82d567141cf4dca706 /ext/session/php_session.h
parenta447897db08ebed361a7d18c8ea0d10089040460 (diff)
downloadphp-git-af67b06995619ecadce4180fbeb49e851c8ec999.tar.gz
SessionUpdateTimestampHandler class was never implemented
It seems that in 2015, work was being done so that users could add their own custom session handlers. The implementer intended to add a class called SessionUpdateTimestampHandler, but never did so. The variable which was intended to point to its class entry is never initialized. The implementer also coded two methods for this class. Strangely, the method bodies are declared with PHP_METHOD(SessionHandler, ...) rather than PHP(SessionUpdateTimestampHandler, ...). However, these method implementations are not added to the method table of any class or interface. They are just dead code.
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r--ext/session/php_session.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index 34987992ea..6f96644024 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -325,7 +325,5 @@ extern PHP_METHOD(SessionHandler, write);
extern PHP_METHOD(SessionHandler, destroy);
extern PHP_METHOD(SessionHandler, gc);
extern PHP_METHOD(SessionHandler, create_sid);
-extern PHP_METHOD(SessionHandler, validateId);
-extern PHP_METHOD(SessionHandler, updateTimestamp);
#endif