Exemplo n.º 1
0
 public static function delete_cache()
 {
     $filename = Relationship::cache_file_dir() . '/' . Relationship::cache_file_name_only();
     if (file_exists($filename)) {
         unlink($filename);
     }
     SugarRelationshipFactory::deleteCache();
     // Delete the internal cache as well
     self::$relCacheInternal = array();
 }