| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Templately\Utils; |
| 4 | 4 | |
| 5 | -use Templately\Core\Module; | |
| 5 | +use Templately\Core\Platform_Registry; | |
| 6 | 6 | use Templately\Core\Platform; |
| 7 | 7 | |
| 8 | 8 | abstract class Base { |
| 9 | 9 | /** |
| @@ -66,9 +66,9 @@ | ||
| 66 | 66 | * @param string $id |
| 67 | 67 | * @return Platform|null |
| 68 | 68 | */ |
| 69 | 69 | public function platform( $id ){ |
| 70 | - $platform = Module::get_instance()->active( $id ); | |
| 70 | + $platform = Platform_Registry::get_instance()->active( $id ); | |
| 71 | 71 | if( ! is_null( $platform ) ) { |
| 72 | 72 | return $platform; |
| 73 | 73 | } |
| 74 | 74 | |