MDL-22179 backup interlinks - save a bunch (zillions) of regexps to happen

This commit is contained in:
Eloy Lafuente
2010-07-27 23:14:28 +00:00
parent 0330784635
commit cdc680110a
@@ -162,8 +162,8 @@ class restore_decode_processor {
* Perform some general checks in content. Returning false rules processing is skipped
*/
protected function precheck_content($content) {
// TODO: look for $@ in content
return $content;
// Look for $@ in content (all interlinks contain that)
return (strpos($content, '$@') === false) ? false : $content;
}
}