Rename hook_oic_form to hook_oci_form

This commit is contained in:
Kienan Stewart 2018-02-16 23:16:47 -05:00
parent ea13c90492
commit f9c2a60113
1 changed files with 4 additions and 4 deletions

View File

@ -296,7 +296,7 @@ class m_oci {
// Invoke hook to get app-specific form fields.
$extra = '';
$vals = $hooks->invoke('hook_oic_form', array($app));
$vals = $hooks->invoke('hook_oci_form', array($app));
foreach ($vals as $v) {
if ($v) {
$extra .= $v;
@ -317,13 +317,13 @@ class m_oci {
}
/**
* Implements hook_oic_form.
* Implements hook_oci_form.
*/
function hook_oic_form($app) {
function hook_oci_form($app) {
$f = '';
switch ($app) {
case 'drupal':
// These fields should be defined in hook_oic_form_fields
// These fields should be defined in hook_oci_form_fields
// Choose the install source
$f .= '<div id="drupal-install-source-wrapper">';
$f .= '<label for="drupal-install-source">' . _('Choose installation source') . '</label>';