CRM-12039 - Display warning to prevent downloads if the default container doesn't...
[civicrm-core.git] / CRM / Extension / System.php
index c0384a83a960d4c721de16f02e897e3205b32e91..8da0688d51d53edc601ed7cbfb2fc2b828e03000 100644 (file)
@@ -113,12 +113,12 @@ class CRM_Extension_System {
    *
    * This container should be a particular, writeable directory.
    *
-   * @return CRM_Extension_Container_Basic|FALSE (false if not configured)
+   * @return CRM_Extension_Container_Default|FALSE (false if not configured)
    */
   public function getDefaultContainer() {
     if ($this->defaultContainer === NULL) {
       if ($this->parameters['extensionsDir']) {
-        $this->defaultContainer = new CRM_Extension_Container_Basic($this->parameters['extensionsDir'], $this->parameters['extensionsURL'], $this->getCache(), 'default');
+        $this->defaultContainer = new CRM_Extension_Container_Default($this->parameters['extensionsDir'], $this->parameters['extensionsURL'], $this->getCache(), 'default');
       } else {
         $this->defaultContainer = FALSE;
       }