original_string: public function execute_plan() {
          // Basic/initial prevention against time/memory limits
          core_php_time_limit::raise(1 * 60 * 60); // 1 hour for 1 course initially granted
          raise_memory_limit(MEMORY_EXTRA);
          // If this is not a course backup, or single activity backup (e.g. duplicate) inform the plan we are not
          // including all the activities for sure. This will affect any
          // task/step executed conditionally to stop including information
          // for section and activity backup. MDL-28180.
          if ($this->get_type() !== backup::TYPE_1COURSE && $this->get_type() !== backup::TYPE_1ACTIVITY) {
              $this->log('notifying plan about excluded activities by type', backup::LOG_DEBUG);
              $this->plan->set_excluding_activities();
          }
          return $this->plan->execute();
      }
code: public function execute_plan() {
          // Basic/initial prevention against time/memory limits
          core_php_time_limit::raise(1 * 60 * 60); // 1 hour for 1 course initially granted
          raise_memory_limit(MEMORY_EXTRA);
          // If this is not a course backup, or single activity backup (e.g. duplicate) inform the plan we are not
          // including all the activities for sure. This will affect any
          // task/step executed conditionally to stop including information
          // for section and activity backup. MDL-28180.
          if ($this->get_type() !== backup::TYPE_1COURSE && $this->get_type() !== backup::TYPE_1ACTIVITY) {
              $this->log('notifying plan about excluded activities by type', backup::LOG_DEBUG);
              $this->plan->set_excluding_activities();
          }
          return $this->plan->execute();
      }
code_tokens: public function execute_plan ( ) { // Basic/initial prevention against time/memory limits core_php_time_limit :: raise ( 1 * 60 * 60 ) ; // 1 hour for 1 course initially granted raise_memory_limit ( MEMORY_EXTRA ) ; // If this is not a course backup, or single activity backup (e.g. duplicate) inform the plan we are not // including all the activities for sure. This will affect any // task/step executed conditionally to stop including information // for section and activity backup. MDL-28180. if ( $ this -> get_type ( ) !== backup :: TYPE_1COURSE && $ this -> get_type ( ) !== backup :: TYPE_1ACTIVITY ) { $ this -> log ( 'notifying plan about excluded activities by type' , backup :: LOG_DEBUG ) ; $ this -> plan -> set_excluding_activities ( ) ; } return $ this -> plan -> execute ( ) ; }
docstring: Executes the backup
  @return void Throws and exception of completes
docstring_tokens: Executes the backup