stas 2003/02/17 01:47:31
Modified: lib/Apache compat.pm
Log:
move current_callback from the package Apache to the package
Apache::RequestRec, so it won't clash with the new API
Revision Changes Path
1.79 +4 -4 modperl-2.0/lib/Apache/compat.pm
Index: compat.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- compat.pm 17 Feb 2003 09:03:16 -0000 1.78
+++ compat.pm 17 Feb 2003 09:47:31 -0000 1.79
@@ -125,10 +125,6 @@
die $err if $err;
}
-sub current_callback {
- return Apache::current_callback();
-}
-
package Apache::Constants;
use Apache::Const ();
@@ -153,6 +149,10 @@
sub hard_timeout {}
sub kill_timeout {}
sub reset_timeout {}
+
+sub current_callback {
+ return Apache::current_callback();
+}
#to support $r->server_root_relative
*server_root_relative = \&Apache::server_root_relative;