summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/safemath_biginteger.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-24 14:11:01 -0700
committerBrion Vibber <brion@pobox.com>2010-03-24 14:11:01 -0700
commitc3ceaa893fa878d531b0af05a3a8ed367177848c (patch)
tree69373ab2bbdb6dd516487752efd8889eeed8b31e /plugins/OStatus/lib/safemath_biginteger.php
parent886e28aaa9e4e9a524d5b1a933a2d2a13994aec9 (diff)
parentecb009bcf5a6893b90d153be18c423dd7377796d (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
Diffstat (limited to 'plugins/OStatus/lib/safemath_biginteger.php')
-rw-r--r--plugins/OStatus/lib/safemath_biginteger.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/OStatus/lib/safemath_biginteger.php b/plugins/OStatus/lib/safemath_biginteger.php
deleted file mode 100644
index c05e24d1e..000000000
--- a/plugins/OStatus/lib/safemath_biginteger.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-require_once 'Math/BigInteger.php';
-
-/**
- * Crypt_RSA stores a Math_BigInteger with value 0, which triggers a bug
- * in Math_BigInteger's wakeup function which spews notices to log or output.
- * This wrapper replaces it with a version that survives serialization.
- */
-class SafeMath_BigInteger extends Math_BigInteger
-{
- function __wakeup()
- {
- if ($this->hex == '') {
- $this->hex = '0';
- }
- parent::__wakeup();
- }
-}
-