From ddd74daef603bba8e7dcd8bcdf6cc8adb7220560 Mon Sep 17 00:00:00 2001 From: ethem Date: Wed, 17 May 2006 08:18:51 +0000 Subject: [PATCH] action.php renamed to authorizenetlib.php Merged from MOODLE_16_STABLE. --- enrol/authorize/{action.php => authorizenetlib.php} | 0 enrol/authorize/db/mysql.php | 2 +- enrol/authorize/db/postgres7.php | 2 +- enrol/authorize/enrol.php | 4 ++-- enrol/authorize/locallib.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename enrol/authorize/{action.php => authorizenetlib.php} (100%) diff --git a/enrol/authorize/action.php b/enrol/authorize/authorizenetlib.php similarity index 100% rename from enrol/authorize/action.php rename to enrol/authorize/authorizenetlib.php diff --git a/enrol/authorize/db/mysql.php b/enrol/authorize/db/mysql.php index fb34c1cdb8..b9eba87c5b 100755 --- a/enrol/authorize/db/mysql.php +++ b/enrol/authorize/db/mysql.php @@ -66,7 +66,7 @@ function enrol_authorize_upgrade($oldversion=0) { table_column('enrol_authorize', 'timeupdated', 'settletime', 'integer', '10', 'unsigned', '0', 'not null'); $status = AN_STATUS_AUTH | AN_STATUS_CAPTURE; if ($settlements = get_records_select('enrol_authorize', "status='$status'", '', 'id, settletime')) { - include_once("$CFG->dirroot/enrol/authorize/action.php"); + include_once("$CFG->dirroot/enrol/authorize/authorizenetlib.php"); foreach ($settlements as $settlement) { execute_sql("UPDATE {$CFG->prefix}enrol_authorize SET settletime = '" . getsettletime($settlement->settletime) . "' WHERE id = '$settlement->id'", false); diff --git a/enrol/authorize/db/postgres7.php b/enrol/authorize/db/postgres7.php index 07ac8e0694..6ff76a047e 100644 --- a/enrol/authorize/db/postgres7.php +++ b/enrol/authorize/db/postgres7.php @@ -77,7 +77,7 @@ function enrol_authorize_upgrade($oldversion=0) { table_column('enrol_authorize', 'timeupdated', 'settletime', 'integer', '10', 'unsigned', '0', 'not null'); $status = AN_STATUS_AUTH | AN_STATUS_CAPTURE; if ($settlements = get_records_select('enrol_authorize', "status='$status'", '', 'id, settletime')) { - include_once("$CFG->dirroot/enrol/authorize/action.php"); + include_once("$CFG->dirroot/enrol/authorize/authorizenetlib.php"); foreach ($settlements as $settlement) { execute_sql("UPDATE {$CFG->prefix}enrol_authorize SET settletime = '" . getsettletime($settlement->settletime) . "' WHERE id = '$settlement->id'", false); diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index 312c9e264b..c22995eb59 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -139,7 +139,7 @@ class enrolment_plugin_authorize function cc_submit($form, $course) { global $CFG, $USER, $SESSION; - require_once $CFG->dirroot.'/enrol/authorize/action.php'; + require_once $CFG->dirroot.'/enrol/authorize/authorizenetlib.php'; $this->prevent_double_paid($course); @@ -617,7 +617,7 @@ class enrolment_plugin_authorize function cron() { global $CFG; - require_once $CFG->dirroot.'/enrol/authorize/action.php'; + require_once $CFG->dirroot.'/enrol/authorize/authorizenetlib.php'; $oneday = 86400; $timenow = time(); diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 619410d03f..72e25d2869 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -5,7 +5,7 @@ if (!defined('MOODLE_INTERNAL')) { } require_once('const.php'); -require_once('action.php'); +require_once('authorizenetlib.php'); define('ORDER_CAPTURE', 'capture'); define('ORDER_DELETE', 'delete'); -- 2.39.5