# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/jurgenhaas/Development/MAMP/dev_girotrans/htdocs/sites/all/modules/block_refresh
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: block_refresh.module
--- block_refresh.module Base (BASE)
+++ block_refresh.module Locally Modified (Based On LOCAL)
@@ -10,9 +10,9 @@
  * DRUPAL 7 STATUS: WORKING!
  */
 function block_refresh_init() {
+  if(user_access('access block refresh content')) {
   drupal_add_js(drupal_get_path('module', 'block_refresh') . '/js/block_refresh.js', array('scope' => 'footer'));
   drupal_add_css(drupal_get_path('module', 'block_refresh') . '/css/block_refresh.css');
-  if(user_access('access block refresh content')) {
     drupal_add_js(array(
       'block_refresh' => array(
         'settings' => variable_get('block_refresh_settings', array()),
