Commit e6261811 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1633213: Removing check for local file

An earlier rendition of the way we added new matrix files was to place
them into the matrices dir and then upload them by name only.

But now we use the file upload field and so don't need this check


Change-Id: Ia37ca05370cdc53dd7836b572320c14e4e3bfcfc
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 51be11cb
......@@ -108,9 +108,6 @@ class PluginModuleFramework extends PluginModule {
public function add_matrix_to_db($filename) {
if (substr_count($filename, '/') == 0) {
$filename = get_config('docroot') . 'module/framework/matrices/' . $filename;
$ok = self::matrix_is_valid_json($filename);
if ($ok['error']) {
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment