summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/safemath_biginteger.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-25 13:50:49 -0400
committerEvan Prodromou <evan@status.net>2010-03-25 13:50:49 -0400
commit920acf8d966a11b7c461c333b3a5d3c82d9c8d75 (patch)
tree396dc88352d080b5ac98f7785be18a81b7eb01e2 /plugins/OStatus/lib/safemath_biginteger.php
parentad608ab9add1615d6aae3fde239e54d1eb36b0ca (diff)
parenta954fd65ba00328cd1a76e620113d2f639340aaf (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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();
- }
-}
-