library/Garp/Cli/Command/Models.php
public function migrateGarpModels() {
        $modelDir = APPLICATION_PATH . '/modules/default/Model';
        $dirIterator = new DirectoryIterator($modelDir);
        foreach ($dirIterator as $finfo) {
            if ($finfo->isDot()) {
                continue;
            }
            $this->_modifyModelFile($finfo);
        }

        $this->_updateCropTemplateRefs();
        return true;
    }
public function migrateGarpModels() {
        $modelDir = APPLICATION_PATH . '/modules/default/Model';
        $dirIterator = new DirectoryIterator($modelDir);
        foreach ($dirIterator as $finfo) {
            if ($finfo->isDot()) {
                continue;
            }
            $this->_modifyModelFile($finfo);
        }

        $this->_updateCropTemplateRefs();
        return true;
    }
public function migrateGarpModels ( ) { $ modelDir = APPLICATION_PATH . '/modules/default/Model' ; $ dirIterator = new DirectoryIterator ( $ modelDir ) ; foreach ( $ dirIterator as $ finfo ) { if ( $ finfo -> isDot ( ) ) { continue ; } $ this -> _modifyModelFile ( $ finfo ) ; } $ this -> _updateCropTemplateRefs ( ) ; return true ; }
Garp models have moved from the G_Model namespace to the Garp_Model_Db_ namespace.
This command migrates extended models to the new namespace.

@return bool
Garp models have moved from the G_Model namespace to the Garp_Model_Db_ namespace . This command migrates extended models to the new namespace .