Answers.Body: <p>Just go to <a href="http://localhost/drupal/civicrm/clearcache" rel="nofollow noreferrer">http://localhost/drupal/civicrm/clearcache</a>. This does a pretty thorough cache clear, including hooks.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-06T18:25:24.023Z
Answers.Text: Thanks for your answer; But it doesn't work for me; I have to reinstall my extension
Answers.UserDisplayName: ManiMuthuPandi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-06T13:56:45.603Z
Answers.LastActivityDate: 2017-07-06T13:56:45.603Z
Answers.UserDisplayName: universalhandle
Answers.Body: <p>If you are using drupal CMS, then you would need to clear all drupal cache and that should fix the issue. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-03T01:35:28.107Z
Answers.Text: Thank you for your answer! Can you please expand with instructions on how to clear the caches that differ from what OP has already tried? It sounds like the OP is asking for that.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-02T17:40:10.810Z
Answers.LastActivityDate: 2018-01-02T17:40:10.810Z
Answers.UserDisplayName: Hassan Farooq
Body: <p>When I am changing a query or logic in my hook, I have to reinstall the entire module so then only the updated logic / code works in civicrm.</p>
  
  <p>Is there a settings to clear the cache or something </p>
  
  <p>I tried the below options none works</p>
  
  <pre><code>1. Admin &gt; System Settings &gt; Cleanup Caches
  
  2. http://localhost/drupal/civicrm/menu/rebuild&amp;reset=1
  </code></pre>
  
Tags: <hooks><cache>
Title: How to clear hook cache
ThreadText: # How to clear hook cache
  
  (Asked by: username_0 on 2017-07-06)
  
  When I am changing a query or logic in my hook, I have to reinstall the entire module so then only the updated logic / code works in civicrm.
  
  Is there a settings to clear the cache or something
  
  I tried the below options none works
  
  ```
  1. Admin > System Settings > Cleanup Caches
  
  2. http://localhost/drupal/civicrm/menu/rebuild&reset=1
  
  ```
  
  **Tags:** hooks, cache
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-07-06. Score: 1
  
  Just go to <http://localhost/drupal/civicrm/clearcache>. This does a pretty thorough cache clear, including hooks.
  
  > **Comments:**
  > **username_0**: Thanks for your answer; But it doesn't work for me; I have to reinstall my extension  
  
  ---
  
  ### Answer by username_2 on 2018-01-02. Score: 0
  
  If you are using drupal CMS, then you would need to clear all drupal cache and that should fix the issue.
  
  > **Comments:**
  > **username_3**: Thank you for your answer! Can you please expand with instructions on how to clear the caches that differ from what OP has already tried? It sounds like the OP is asking for that.  
  
  ---
  
  