• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

XOOPS Cube Legacy base repository


Commit MetaInfo

Revisão60251a7bec0a3f1efdd15394d7de689e07f409a2 (tree)
Hora2012-08-02 18:02:11
AutorHIKAWA Kilica <kilica.hikawa@gmai...>
CommiterHIKAWA Kilica

Mensagem de Log

Merge branch 'master' of https://github.com/xoopscube/legacy

Mudança Sumário

Diff

--- a/html/core/XCube_Delegate.class.php
+++ b/html/core/XCube_Delegate.class.php
@@ -534,9 +534,6 @@ class XCube_DelegateUtils
534534 {
535535 }
536536
537- /**
538- * @deprecated raiseEvent()
539- */
540537 static function call()
541538 {
542539 $args = func_get_args();
@@ -560,6 +557,7 @@ class XCube_DelegateUtils
560557 }
561558
562559 /**
560+ * @deprecated Use call()
563561 * @public
564562 * @brief [Static] Utility method for calling event-delegates.
565563 *
--- a/html/modules/user/class/LostPassMailBuilder.class.php
+++ b/html/modules/user/class/LostPassMailBuilder.class.php
@@ -86,7 +86,11 @@ class User_LostPass1MailBuilder
8686 $this->mMailer->assign("ADMINMAIL", $xoopsConfig['adminmail']);
8787 $this->mMailer->assign("SITEURL", XOOPS_URL . "/");
8888 $this->mMailer->assign("IP", $_SERVER['REMOTE_ADDR']);
89- $this->mMailer->assign("NEWPWD_LINK", XOOPS_URL . "/lostpass.php?email=" . $user->getShow('email') . "&code=" . substr($user->get("pass"), 0, 5));
89+ $queryString = http_build_query(array(
90+ 'email' => $user->getShow('email'),
91+ 'code' => substr($user->get("pass"), 0, 5),
92+ ));
93+ $this->mMailer->assign("NEWPWD_LINK", XOOPS_URL . "/lostpass.php?" . $queryString);
9094 }
9195
9296 function &getResult()