setting a function called statically to be static

This commit is contained in:
Benjamin Sonntag 2014-11-27 15:19:21 +01:00
parent 07e790524d
commit baabda2369
2 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class m_dom {
/**
* @param string $fqdn
*/
function get_sub_domain_id_and_member_by_name($fqdn) {
public static function get_sub_domain_id_and_member_by_name($fqdn) {
global $db, $err, $cuid;
$err->log("dom", "get_sub_domain_by_name");
$fqdn = mysql_real_escape_string($fqdn);
@ -113,6 +113,7 @@ class m_dom {
return array('sub_id' => intval($db->f('id')), 'member_id' => intval($db->f('compte')));
}
function hook_menu() {
global $quota;
$obj = array(

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ alternc (3.1.3) oldstable; urgency=low
* fix a probable privilege escalation in cron management
* fix a random number generation issue in PHP (rand automatically initialized by time(), not better!)
* fix some shell_exec() or exec() not using escapeshellarg in PHP.
* fix set a proper SSLCipherSuite, removes SSLv3 (poodle protection)
-- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 27 Nov 2014 11:17:12 +0100