MDL-68454 table: Move get_context from dynamic to flexible

This commit is contained in:
Andrew Nicols
2020-05-04 11:52:19 +08:00
parent ff475522fb
commit c00552b3b0
3 changed files with 23 additions and 15 deletions
-10
View File
@@ -30,7 +30,6 @@ namespace core_table;
defined('MOODLE_INTERNAL') || die();
use moodle_url;
use context;
use core_table\local\filter\filterset;
/**
@@ -61,13 +60,4 @@ interface dynamic {
* @return filterset
*/
public function get_filterset(): ?filterset;
/**
* Get the context of the current table.
*
* Note: This function should not be called until after the filterset has been provided.
*
* @return context
*/
public function get_context(): ?context;
}