From 05de5a5bf1faa293cb1c5bd0b0ea1ea89a6be967 Mon Sep 17 00:00:00 2001
From: mickadoo <michaeldevery@gmail.com>
Date: Sun, 12 Mar 2017 18:00:38 +0000
Subject: [PATCH] add redirect for hooks

---
 docs/hooks.md             | 6 +++---
 redirects/wiki-crmdoc.txt | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/hooks.md b/docs/hooks.md
index 5d1382e9..ec1b3ede 100644
--- a/docs/hooks.md
+++ b/docs/hooks.md
@@ -37,7 +37,7 @@ The two parts that you'll be changing are:
 
 1. ==EXTENSION-NAME==: Depending on your installation this can change. In 
 [Drupal][drupal] it will be the name of your extension. In 
-[Joomla](hooks/enabling-hooks/joomla) it will be "joomla".
+[Joomla][joomla] it will be "joomla".
 2. ==HOOK-NAME==: This is the name of the event you want to hook into, for 
 example `validateForm`. You'll need to check the reference for a full list of 
 hooks that are available.
@@ -219,5 +219,5 @@ function myextension_civicrm_tokenValues(&$details, $contactIDs, $jobID, $tokens
 }
 ```
 
-[drupal]: hooks/enabling-hooks/drupal
-[joomla]: hooks/enabling-hooks/joomla
\ No newline at end of file
+[drupal]: hooks/setup/drupal
+[joomla]: hooks/setup/joomla
\ No newline at end of file
diff --git a/redirects/wiki-crmdoc.txt b/redirects/wiki-crmdoc.txt
index 24a33f38..a8fa9e1c 100644
--- a/redirects/wiki-crmdoc.txt
+++ b/redirects/wiki-crmdoc.txt
@@ -110,4 +110,5 @@ hook_civicrm_searchProfile hooks/hook_civicrm_searchProfile
 hook_civicrm_validateProfile hooks/hook_civicrm_validateProfile
 hook_civicrm_viewProfile hooks/hook_civicrm_viewProfile
 hook_civicrm_alterReportVar hooks/hook_civicrm_alterReportVar
-
+Hook+Reference hooks
+Hooks hooks
-- 
GitLab