setting a function called statically to be static
This commit is contained in:
parent
07e790524d
commit
baabda2369
|
@ -103,7 +103,7 @@ class m_dom {
|
||||||
/**
|
/**
|
||||||
* @param string $fqdn
|
* @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;
|
global $db, $err, $cuid;
|
||||||
$err->log("dom", "get_sub_domain_by_name");
|
$err->log("dom", "get_sub_domain_by_name");
|
||||||
$fqdn = mysql_real_escape_string($fqdn);
|
$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')));
|
return array('sub_id' => intval($db->f('id')), 'member_id' => intval($db->f('compte')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function hook_menu() {
|
function hook_menu() {
|
||||||
global $quota;
|
global $quota;
|
||||||
$obj = array(
|
$obj = array(
|
||||||
|
|
|
@ -4,6 +4,7 @@ alternc (3.1.3) oldstable; urgency=low
|
||||||
* fix a probable privilege escalation in cron management
|
* fix a probable privilege escalation in cron management
|
||||||
* fix a random number generation issue in PHP (rand automatically initialized by time(), not better!)
|
* 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 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
|
-- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 27 Nov 2014 11:17:12 +0100
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue