summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/hosting/example/hosting_quota.api.php6
-rw-r--r--modules/hosting/example/hosting_site.api.php2
-rw-r--r--modules/hosting/example/hosting_task.api.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/hosting/example/hosting_quota.api.php b/modules/hosting/example/hosting_quota.api.php
index 2a01495..aea485d 100644
--- a/modules/hosting/example/hosting_quota.api.php
+++ b/modules/hosting/example/hosting_quota.api.php
@@ -13,7 +13,7 @@
/**
* Definition of hook_hosting_quota_resource
*/
-function hook_hosting_quota_resource() {
+function hosting_example_hosting_quota_resource() {
$resources = array();
$resources['foo'] = array(
@@ -39,7 +39,7 @@ function hook_hosting_quota_resource() {
* @return int
* Return an integer that can be compared to what the quota is set to
*/
-function hook_hosting_quota_get_usage($client, $resource, $start, $end) {
+function hosting_example_hosting_quota_get_usage($client, $resource, $start, $end) {
if (hosting_get_client($client)) {
switch ($resource) {
@@ -58,7 +58,7 @@ function hook_hosting_quota_get_usage($client, $resource, $start, $end) {
* @param $usage int
* Usage as returned by hosting_quota_get_usage
*/
-function hook_hosting_quota_resource_render($resource, $usage) {
+function hosting_example_hosting_quota_resource_render($resource, $usage) {
switch ($resource) {
case 'foo':
$bar = 23;
diff --git a/modules/hosting/example/hosting_site.api.php b/modules/hosting/example/hosting_site.api.php
index 137c187..da2e46b 100644
--- a/modules/hosting/example/hosting_site.api.php
+++ b/modules/hosting/example/hosting_site.api.php
@@ -20,7 +20,7 @@
*
* @see hosting_site_available_options()
*/
-function hook_hosting_site_options_alter(&$return, $node) {
+function hosting_example_hosting_site_options_alter(&$return, $node) {
// From: hosting_ssl_hosting_site_options_alter().
// Disable the ssl key fields by default.
diff --git a/modules/hosting/example/hosting_task.api.php b/modules/hosting/example/hosting_task.api.php
index 131f4ec..e898c9b 100644
--- a/modules/hosting/example/hosting_task.api.php
+++ b/modules/hosting/example/hosting_task.api.php
@@ -31,7 +31,7 @@
*
* @see hosting_available_tasks()
*/
-function hook_hosting_tasks() {
+function hosting_example_hosting_tasks() {
// From hosting_clone_hosting_tasks().
$options = array();