diff options
Diffstat (limited to 'models/org.go')
-rw-r--r-- | models/org.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/models/org.go b/models/org.go index a62c67deb7..1cc25231e6 100644 --- a/models/org.go +++ b/models/org.go @@ -182,10 +182,6 @@ func CreateOrganization(org, owner *User) (err error) { return fmt.Errorf("insert team-user relation: %v", err) } - if err = os.MkdirAll(UserPath(org.Name), os.ModePerm); err != nil { - return fmt.Errorf("create directory: %v", err) - } - return sess.Commit() } |