diff --git a/blocks/recent_activity/block_recent_activity.php b/blocks/recent_activity/block_recent_activity.php
index <HASH>..<HASH> 100644
--- a/blocks/recent_activity/block_recent_activity.php
+++ b/blocks/recent_activity/block_recent_activity.php
@@ -31,6 +31,10 @@ class block_recent_activity extends block_base {
 
         return $this->content;
     }
-}
 
+    function applicable_formats() {
+        require_once($GLOBALS['CFG']->dirroot.'/my/pagelib.php');
+        return array('all' => true, MY_MOODLE_FORMAT => false);
+    }
+}
 ?>
Recent activity block shouldn't go into my moode