cvs: pearweb /public_html/bugs/include functions.inc
| From: | Greg Beaver | Date: | Tue, 20 Feb 2007 05:26:01 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5461@lists.php.net to get a copy of this message | ||
cellog Tue Feb 20 05:26:01 2007 UTC
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
more php5-specific stuff removed
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.122&r2=1.123&diff_format=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.122
pearweb/public_html/bugs/include/functions.inc:1.123
--- pearweb/public_html/bugs/include/functions.inc:1.122 Tue Feb 20 05:24:24 2007
+++ pearweb/public_html/bugs/include/functions.inc Tue Feb 20 05:26:01 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.122 2007/02/20 05:24:24 cellog Exp $
+ * @version $Id: functions.inc,v 1.123 2007/02/20 05:26:01 cellog Exp $
*/
@@ -1340,12 +1340,12 @@
{
return str_replace(array('.'),
array('\\.'),
- self::getHost());
+ Bug_DBDataObject::getHost());
}
function isDeveloper($email)
{
- $db = self::pearDB('users');
+ $db = Bug_DBDataObject::pearDB('users');
$db->email = $email;
return $db->find();
}
@@ -1355,7 +1355,7 @@
if ($bugs) {
$uri = '/bugs/' . $uri;
}
- return str_replace(self::getHost(), '', PEAR_CHANNELNAME) . '/' . $uri;
+ return str_replace(Bug_DBDataObject::getHost(), '', PEAR_CHANNELNAME) .
'/' . $uri;
}
/**
@@ -1426,7 +1426,7 @@
function getSavant()
{
return new Savant2(array(
- 'template_path' => dirname(dirname(dirname(dirname(__FILE__)))) .
'/templates/' . self::template(),
+ 'template_path' => dirname(dirname(dirname(dirname(__FILE__)))) .
'/templates/' . Bug_DBDataObject::template(),
));
}
}